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 git@github.com: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 <jaid.jsx@gmail.com> (https://github.com/jaid)