readable-ms
v3.0.0
Published
Converts a milliseconds value into a human-readable string.
Maintainers
Readme
readable-ms
Converts a milliseconds value into a human-readable string.
Installation
npm install --save readable-ms@^3.0.0yarn add readable-ms@^3.0.0
(if configured properly)
npm install --save @jaid/readable-ms@^3.0.0Example
import readableMs from "readable-ms"
const result = readableMs(3021)Variable result will be:
"3s 21ms"Development
Setting up:
git clone [email protected]:jaid/readable-ms.git
cd readable-ms
npm installTesting:
npm run test:devTesting in production environment:
npm run testLicense
MIT License
Copyright © 2020, Jaid <[email protected]> (https://github.com/jaid)
