# @restart/hooks

> A set of utility and general-purpose React hooks.

Latest version **0.6.2** (published 2025-01-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @restart/hooks
pnpm add @restart/hooks
yarn add @restart/hooks
bun add @restart/hooks
```

## Health

**Score 30/100 (F)** — status: maintenance-mode.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.6.2 |
| Published | 2025-01-07 |
| First published | 2019-02-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM |
| Dependencies | 1 |
| Unpacked size | 203.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 235 |
| Author | Jason Quense |
| Maintainers | monastic.panic, taion, kytsang |

## Links

- npm: https://www.npmjs.com/package/@restart/hooks
- Repository: https://github.com/react-restart/hooks
- Homepage: https://github.com/react-restart/hooks#readme
- Issues: https://github.com/react-restart/hooks/issues
- npm.io page: https://npm.io/package/@restart/hooks

## Dependencies (1)

- [dequal](https://npm.io/package/dequal.md) ^2.0.3

## Recent versions

- 0.6.2 (latest) — 2025-01-07
- 0.6.1 — 2025-01-07
- 0.6.0 — 2025-01-07
- 0.5.1 — 2025-01-02
- 0.5.0 — 2024-11-25
- 0.4.16 — 2024-02-10
- 0.4.15 — 2023-12-07
- 0.4.14 — 2023-12-07
- 0.4.13 — 2023-12-06
- 0.4.12 — 2023-12-06
- 0.4.11 — 2023-07-17
- 0.4.10 — 2023-07-13
- 0.4.9 — 2023-02-10
- 0.4.8 — 2023-01-25
- 0.4.7 — 2022-04-27
- … 55 more at https://npm.io/package/@restart/hooks/versions

## README

# @restart/hooks [![npm][npm-badge]][npm]

A set of utility and general-purpose React hooks.

## Install

```sh
npm install @restart/hooks
```

## Usage

```js
import useInterval from '@restart/hooks/useInterval'

useInterval(() => loop(), 300, false)
```

[npm-badge]: https://img.shields.io/npm/v/@restart/hooks.svg
[npm]: https://www.npmjs.org/package/@restart/hooks

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