# basic-ms

> Easy MS Module

Latest version **1.1.4** (published 2022-05-08) · Apache-2.0 license · 0 weekly downloads

## Install

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

## Health

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

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

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.4 |
| Published | 2022-05-08 |
| First published | 2021-09-05 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 17.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | deliever |
| Maintainers | deliever |
| Keywords | basic-ms, ms, fast, quick, easy, time, time-to-ms, node-ms, ms-to-time |

## Links

- npm: https://www.npmjs.com/package/basic-ms
- Repository: https://github.com/deliever42/basic-ms
- Homepage: https://github.com/deliever42/basic-ms#readme
- Issues: https://github.com/deliever42/basic-ms/issues
- npm.io page: https://npm.io/package/basic-ms

## 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

- 1.1.4 (latest) — 2022-05-08
- 1.1.2 — 2022-03-08
- 1.0.8 — 2022-01-17
- 1.0.7 — 2021-09-26
- 1.0.6 — 2021-09-16
- 1.0.5 — 2021-09-05
- 1.0.2 — 2021-09-05
- 1.0.0 — 2021-09-05

## README

![Image](https://img.shields.io/npm/v/basic-ms?color=%2351F9C0&label=basic-ms)
![Image](https://img.shields.io/npm/dt/basic-ms.svg?color=%2351FC0&maxAge=3600)

#

![Image](https://nodei.co/npm/basic-ms.png?downloads=true&downloadRank=true&stars=true)

# News

```npm
- Fixed unknown time error.
```

# Use

```js
const { timeToMs, parseMs, msToTime } = require('basic-ms');

//Time To Ms
timeToMs('1h'); // 3600000

//Ms To Time
msToTime(3600000); // 1h

//parseMs
parseMs(3600000); // { years: 0, months: 0, weeks: 0, days: 0, hours: 1, minutes: 60, seconds: 3600, milliseconds: 0 }
```

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