# ms-utility

> Yet another update... ```ts import { Parser } from "ms-utility"

Latest version **3.3.0** (published 2022-04-12) · ISC license · 0 weekly downloads

## Install

```sh
npm install ms-utility
pnpm add ms-utility
yarn add ms-utility
bun add ms-utility
```

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.3.0 |
| Published | 2022-04-12 |
| First published | 2021-06-09 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 41.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | ruben40000 |

## Links

- npm: https://www.npmjs.com/package/ms-utility
- npm.io page: https://npm.io/package/ms-utility

## Recent versions

- 3.3.0 (latest) — 2022-04-12
- 3.2.0 — 2022-01-14
- 3.1.0 — 2022-01-11
- 3.0.2 — 2021-12-27
- 3.0.1 — 2021-12-24
- 3.0.0 — 2021-12-24
- 2.0.0 — 2021-12-23
- 1.5.0 — 2021-09-13
- 1.4.2 — 2021-07-14
- 1.4.0 — 2021-07-14
- 1.3.1 — 2021-06-29
- 1.3.0 — 2021-06-29
- 1.2.0 — 2021-06-13
- 1.1.0 — 2021-06-13
- 1.0.5 — 2021-06-13
- … 2 more at https://npm.io/package/ms-utility/versions

## README

Yet another update...
```ts
import { Parser } from "ms-utility"

const parser = new Parser([
    [
        "d",
        {
            letter: 'd',
            word: 'day',
            ms: 86_400_000
        }
    ]
]) // This adds new time units to the parser.

console.log(
    parser.parseToString(86_400_000), // Will return 1 day.
    parser.parseToMS('1d') // Will return 86_400_000.
)
```

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