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