# humanize-time

> Converts miliseconds to human-readable format.

Latest version **0.0.3** (published 2021-12-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install humanize-time
pnpm add humanize-time
yarn add humanize-time
bun add humanize-time
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2021-12-18 |
| First published | 2014-09-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Hrvoje Simic |
| Maintainers | shime |
| Keywords | humanize, miliseconds, time, seconds, hours, minutes, minimalistic |

## Links

- npm: https://www.npmjs.com/package/humanize-time
- Repository: https://github.com/shime/humanize-time
- Issues: https://github.com/shime/humanize-time/issues
- npm.io page: https://npm.io/package/humanize-time

## Alternatives

- [@js-joda/timezone](https://npm.io/package/@js-joda/timezone.md) — 383.4K weekly downloads
- [chartjs-adapter-moment](https://npm.io/package/chartjs-adapter-moment.md) — 210.8K weekly downloads
- [strftime](https://npm.io/package/strftime.md) — 171.2K weekly downloads
- [vue-flatpickr-component](https://npm.io/package/vue-flatpickr-component.md) — 115.8K weekly downloads
- [timepicker](https://npm.io/package/timepicker.md) — 51.0K weekly downloads

## Recent versions

- 0.0.3 (latest) — 2021-12-18
- 0.0.2 — 2014-09-15
- 0.0.1 — 2014-09-06

## README

## Humanize time

[![Downloads](https://img.shields.io/npm/dt/humanize-time.svg)](https://npmjs.org/package/humanize-time)

Converts miliseconds to human-readable format.

## Install

    npm install humanize-time

## Example

```javascript
  var time = require('humanize-time')

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

## License

MIT

---
_Source: https://npm.io/package/humanize-time · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
