JS duration functions and parser, focused on ISO8601 format
npm install timelord
|5||downloads in the last week|
|10||downloads in the last month|
|Version||0.1.8 last updated a year ago|
Timespan (or duration) parser for JS, primarily built to work with the ISO8601 timespan format. At this stage it's use is primarily around parsing durations associated with (geospatial) route instructions so no logic has been implemented for parsing beyond the period of a week.
For example usage, I would recommend having a look at the tests.