date-duration

v1.8.1
Manipulate Date objects with ISO 8601-formatted durations
time duration iso iso8601 iso 8601 date

lint

eslint src test

build

babel --source-maps -d dist src

test-timezone1

export TZ=Europe/Brussels && mocha --require @babel/register

test-timezone2

export TZ=America/New_York && mocha --require @babel/register

test

npm run test-timezone1 && npm run test-timezone2

clean

rm -rf dist

preversion

npm run lint && npm run test

postversion

git push && git push --tags

prepublishOnly

npm run lint && npm run test && npm run build

postpublish

npm run clean

Metadata

  • MIT
  • Whatever
  • Sam Hauglustaine
  • released 8/29/2019

Downloads

Maintainers