pretty-ms-i18n

v1.0.2
Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`
pretty prettify human humanize humanized readable time ms milliseconds and 8 more...

lint

eslint tests lang lib

lint:fix

eslint --fix tests lang lib

precommit

CI=1 npm run test

prepush

CI=1 npm run test

test

npm run lint && node tools/jest.js

coverage

npm run lint && npm run test -- --coverage

Metadata

  • MIT
  • >=10
  • Sindre Sorhus
  • released 10/26/2020

Downloads