Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

readable-ms

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

readable-ms

Converts a milliseconds value into a human-readable string.

  • 3.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
decreased by-50%
Maintainers
1
Weekly downloads
 
Created
Source

readable-ms

License Sponsor readable-ms
Build status Commits since v3.0.0 Last commit Issues
Latest version on npm Dependents Downloads

Converts a milliseconds value into a human-readable string.

Installation

readable-ms on npm

npm install --save readable-ms@^3.0.0

readable-ms on Yarn

yarn add readable-ms@^3.0.0

@jaid/readable-ms on GitHub Packages
(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)

Keywords

FAQs

Package last updated on 14 Jun 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc