Socket
Socket
Sign inDemoInstall

humanize-time

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    humanize-time

Converts miliseconds to human-readable format.


Version published
Maintainers
1
Install size
4.81 kB
Created

Readme

Source

Humanize time

Downloads

Converts miliseconds to human-readable format.

Install

npm install humanize-time

Example

  var time = require('humanize-time')

  time(2000)    // '2s'
  time(62000)   // '1m, 2s'
  time(3662000) // '1h, 1m, 2s'

License

MIT

Keywords

FAQs

Last updated on 18 Dec 2021

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc