Guides

Installation

HookNest is distributed via npm and is compatible with React 16.8+ and all modern builds of Next.js and Vite.

1. Install Package

Terminal
npm install hooknest

2. Core Import

Import any hook directly into your component. All hooks are tree-shakeable.

App.js
import { useToggle, useDebounce } from 'hooknest';

Why Choose HookNest?

  • Zero peer dependencies
  • Full TypeScript support
  • Under 2kb gzipped
  • Hydration safe