# performance-ms

> performance timer in ms

Latest version **1.1.0** (published 2024-06-16) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 35/100 (D)** — status: abandoned.

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

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2024-06-16 |
| First published | 2023-08-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >= 14.0.0 |
| Dependencies | 0 |
| Unpacked size | 6.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| Author | fengmk2 |
| Maintainers | fengmk2 |
| Keywords | performance, now, timer, performance-now |

## Links

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

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.1.0 (latest) — 2024-06-16
- 1.0.0 — 2023-08-04

## README

# performance-ms

[![NPM version][npm-image]][npm-url]
[![Node.js CI](https://github.com/node-modules/performance-ms/actions/workflows/nodejs.yml/badge.svg)](https://github.com/node-modules/performance-ms/actions/workflows/nodejs.yml)
[![Test coverage][codecov-image]][codecov-url]
[![Known Vulnerabilities][snyk-image]][snyk-url]
[![npm download][download-image]][download-url]

[npm-image]: https://img.shields.io/npm/v/performance-ms.svg?style=flat-square
[npm-url]: https://npmjs.com/package/performance-ms
[codecov-image]: https://codecov.io/github/node-modules/performance-ms/coverage.svg?branch=master
[codecov-url]: https://codecov.io/github/node-modules/performance-ms?branch=master
[snyk-image]: https://snyk.io/test/npm/performance-ms/badge.svg?style=flat-square
[snyk-url]: https://snyk.io/test/npm/performance-ms
[download-image]: https://img.shields.io/npm/dm/performance-ms.svg?style=flat-square
[download-url]: https://npmjs.com/package/performance-ms

performance timer in ms

## Usage

```ts
import { now, diff } from 'performance-ms';

const startTime = now();
// run your code
const rt = diff(startTime);
console.log('rt %d', rt);

// stdout: rt 1.228
```

## License

[MIT](LICENSE)

<!-- GITCONTRIBUTOR_START -->

## Contributors

|[<img src="https://avatars.githubusercontent.com/u/156269?v=4" width="100px;"/><br/><sub><b>fengmk2</b></sub>](https://github.com/fengmk2)<br/>|[<img src="https://avatars.githubusercontent.com/u/32174276?v=4" width="100px;"/><br/><sub><b>semantic-release-bot</b></sub>](https://github.com/semantic-release-bot)<br/>|
| :---: | :---: |


This project follows the git-contributor [spec](https://github.com/xudafeng/git-contributor), auto updated at `Fri Aug 04 2023 15:21:17 GMT+0800`.

<!-- GITCONTRIBUTOR_END -->

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