iso8601-js-period5.8kApache-2.00.2.1Javascript library for parsing of ISO 8601 durations
mdarticIl y a over 3 yearsperiod, iso8601, date, time pretty-ms45.6mMIT9.3.0Convert milliseconds to a human readable string: 1337000000
→ 15d 11h 23m 20s
sindresorhusIl y a about 1 monthperiod, pretty, prettify, human parse-ms45.1mMIT4.0.0Parse milliseconds into an object
sindresorhusIl y a almost 2 yearsperiod, browser, parse, time this-file1.1mMIT2.0.3If you are an author of open source repository, you may want to support both CJS and ESM for users since it's a confused period. It's hard to use __dirname
and import.meta.url
in one file specially for typescript project.
fwh1990Il y a over 3 years tinyduration360kMIT3.4.1ISO-8601 duration parsing and serialization
MelleBIl y a 9 monthsperiod, iso-8601, duration, date