to-time

v1.0.2
Utility for converting textual time periods to time units

test-source

mocha ./test/spec

test-build

mocha ./test/specBuild

test

npm run test-source && npm run test-build

coverage

istanbul cover _mocha

lint

eslint -c .eslintrc.json --ignore-path ./.eslintignore .

build

browserify --standalone to-time -t [ babelify --presets [ es2015 ] ] src/index.js -o lib/to-time.js

build-min

browserify --standalone to-time -t [ babelify --presets [ es2015 ] ] src/index.js | ./node_modules/.bin/uglifyjs --compress --screw-ie8 > lib/to-time.min.js
npm i to-time

Metadata

  • MIT
  • Whatever
  • Matan Hafuta
  • released 10/3/2016

Downloads

Maintainers