parse-duration
Advanced tools
Comparing version
@@ -5,3 +5,3 @@ const unit = Object.create(null) | ||
unit.year = unit.yr = unit.y = y | ||
unit.month = unit.mth = unit.mo = y / 12 | ||
unit.month = unit.mo = unit.mth = y / 12 | ||
unit.week = unit.wk = unit.w = d * 7 | ||
@@ -13,3 +13,3 @@ unit.day = unit.d = d | ||
unit.millisecond = unit.millisec = unit.ms = 1 | ||
unit.microsecond = unit.microsec = unit.us = unit.µs = 1e-3 | ||
unit.microsecond = unit.microsec = unit.us = unit.µs = unit.μs = 1e-3 | ||
unit.nanosecond = unit.nanosec = unit.ns = 1e-6 | ||
@@ -16,0 +16,0 @@ |
{ | ||
"name": "parse-duration", | ||
"version": "2.0.2", | ||
"version": "2.1.0", | ||
"description": "Convert a human readable duration string to a duration format", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
8467
0.13%