3.0.0 • Published 2 years ago

readable-ms v3.0.0

Weekly downloads
25
License
-
Repository
github
Last release
2 years ago

readable-ms



Converts a milliseconds value into a human-readable string.

Installation

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

Example

import readableMs from "readable-ms"

const result = readableMs(3021)

Variable result will be:

"3s 21ms"

Development

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

License

MIT License
Copyright © 2020, Jaid \jaid.jsx@gmail.com (https://github.com/jaid)