# react-metronome

> tick tock

Latest version **1.0.5** (published 2015-08-07) · ISC license · 0 weekly downloads

## Install

```sh
npm install react-metronome
pnpm add react-metronome
yarn add react-metronome
bun add react-metronome
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2015-08-07 |
| First published | 2015-08-07 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Sunil Pai |
| Maintainers | threepointone |
| Keywords | metronome, react, timer |

## Links

- npm: https://www.npmjs.com/package/react-metronome
- npm.io page: https://npm.io/package/react-metronome

## 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.0.5 (latest) — 2015-08-07
- 1.0.4 — 2015-08-07

## README

react-metronome
---
`npm install react-metronome --save`

tick-tock as a component :)

`import {Metronome} from 'react-metronome';`

current api:
```js
<Metronome period={1000} onTick={fn}>{
  value => <div>{`tick: ${value}`}</div>
}</Metronome>
```

the api I *really* want:
```js
<Metronome bpm={120} reduce={(state, tick) => Math.sin(tick)}>{
  value => <div>{`tick: ${value}`}</div>
}</Metronome>
```

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