# perfrep

> 🐎 Host Performance Report in Percent

Latest version **0.2.1** (published 2019-01-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install perfrep
pnpm add perfrep
yarn add perfrep
bun add perfrep
```

Provides the command `perfrep`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.2.1 |
| Published | 2019-01-10 |
| First published | 2018-10-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 2.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 39 |
| Author | omrilotan |
| Maintainers | omrilotan |
| Keywords | cpu, heap, mem, memory, performance, report, monitoring, usage, stats, 🐎 |

## Links

- npm: https://www.npmjs.com/package/perfrep
- Repository: https://github.com/omrilotan/mono
- Homepage: https://omrilotan.com/mono/perfrep/
- Issues: https://github.com/omrilotan/mono/issues
- npm.io page: https://npm.io/package/perfrep

## Dependencies (2)

- [@lets/wait](https://npm.io/package/@lets/wait.md) ^1.0.0
- [@does/percent](https://npm.io/package/@does/percent.md) 0.0.2

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

- 0.2.1 (latest) — 2019-01-10
- 0.2.0 — 2018-12-12
- 0.1.0 — 2018-10-28

## README

# perfrep [![](https://img.shields.io/npm/v/perfrep.svg)](https://www.npmjs.com/package/perfrep) [![](https://img.shields.io/badge/source--000000.svg?logo=github&style=social)](https://github.com/omrilotan/mono/tree/master/packages/perfrep)

Host Performance Report in Percent

```js
const perfrep = require('perfrep');

const {cpu, memory, heap} = await perfrep();

// log to statsd for example
logMetrics(
	...Object.entries(await perfrep())
		.map(
			([key, value]) => `application.host_perf.${key}_usage:${value}|ms|@0.1`
		)
	)
);
```

![](https://user-images.githubusercontent.com/516342/49897016-9af59700-fe5d-11e8-9af3-9013809a6a94.png)

Or take a glance at your own machine
```
npm i -g perfrep

perfrep
```

![](https://user-images.githubusercontent.com/516342/49897116-e740d700-fe5d-11e8-8d59-903bbaf73cfe.png)

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