# @casperiv/useful

> List of useful React functions and hooks

Latest version **3.0.0** (published 2023-08-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install @casperiv/useful
pnpm add @casperiv/useful
yarn add @casperiv/useful
bun add @casperiv/useful
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.0.0 |
| Published | 2023-08-15 |
| First published | 2023-08-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM |
| Node | >=16.0.0 \|\| >=18.0.0 |
| Dependencies | 0 |
| Unpacked size | 21.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Dev-CasperTheGhost |
| Maintainers | casperiv |
| Keywords | react-hooks, hooks |

## Links

- npm: https://www.npmjs.com/package/@casperiv/useful
- Repository: https://github.com/Dev-CasperTheGhost/useful
- Homepage: https://github.com/Dev-CasperTheGhost/useful#readme
- Issues: https://github.com/Dev-CasperTheGhost/useful/issues
- npm.io page: https://npm.io/package/@casperiv/useful

## Recent versions

- 3.0.0 (latest) — 2023-08-15

## README

# useful

List of useful React functions and hooks

## install

### npm

```bash
npm install @casperiv/useful
```

### Yarn

```bash
yarn add @casperiv/useful
```

## Usage

```tsx
import { useMounted } from "@casperiv/useful/hooks/useMounted";

const Component = () => {
  const mounted = useMounted();
  console.log("Mounted?", mounted);

  return <p>Hello world!</p>;
};
```

## Available hooks

- [`useDots.ts`](./docs/hooks/use-dots.md)
- [`useDownload.ts`](./docs/hooks/use-download.md)
- [`useEmitEvent.ts`](./docs/hooks/use-emit-event.md)
- [`useEventListener.ts`](./docs/hooks/use-event-listener.md)
- [`useMounted.ts`](./docs/hooks/use-mounted.md)
- [`useNetworkStatus.ts`](./docs/hooks/use-network-status.md)
- [`usePortal.ts`](./docs/hooks/use-portal.md)
- [`useSearch.ts`](./docs/hooks/use-search.md)
- [`useSound.ts`](./docs/hooks/use-sound.md)
- [`useTabFocus.ts`](./docs/hooks/use-tab-focus.md)
- [`useViewport.ts`](./docs/hooks/use-viewport.md)

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