Publish your React hook library to npm
Learn how to publish your React hook library to npm in three simple steps.
Generate the build
Generate the build using npm, yarn or pnpm.
sh
npm run build
sh
yarn build
sh
pnpm build
Login to npm
Login to npm and follow the prompts.
sh
npm login
Publish your library
sh
npm publish