Package Exports
- timestring-notsep
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (timestring-notsep) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
timestring-notsep
Tiny wrapper around timestring (parser for human-readable durations) that fails loudly if you accidentially use a thousand separator.
Use timestring more robustly:
Some countries use , and . swapped,
with dot as their thousand separator
and comma for the fractional part.
To avoid config accidents, this module enforces the use of
dot for the fractional part and no thousand separators.
It can't help with inherently ambiguous cases like 1.234,
but at least it prevents some obvious mistakes like
1,25 being parsed as 125.
License
ISC