isoformat

JSON →
library 0.2.1 ·javascript
verified May 27, 2026

isoformat is a JavaScript library designed for concise formatting and parsing of ISO 8601 date and date-time strings. It aims to provide a 'tidier' alternative to the standard `Date.toISOString()` by returning the shortest equivalent UTC string for formatting, and offering flexible parsing of common ISO forms. The current stable version is v0.2.1, indicating a library that is actively maintained with recent minor releases, focusing on usability and adherence to specific subsets of the ISO 8601 standard. Key differentiators include its focus on minimal output for `format` (e.g., explicitly excluding YYYY or YYYY-MM forms) and a more permissive `parse` function that handles various ISO 8601 date and time formats, including different timezone offsets and even the widely supported but non-standard -00:00, while explicitly not supporting two-digit time zone offsets (+HH or -HH).

total hits 13
actors 6 distinct systems
last hit 1d ago AhrefsBot
MetaBot
4
GPTBot
2
Script
1
ClaudeBot
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇺🇦 Ukraine · 🇩🇪 Germany