@casper124578/useful

v2.1.0
List of useful React functions and hooks
react-hooks hooks

remove-build

rm -rf index.js index.d.ts hooks

build

pnpm run remove-build && tsc && pnpm run make-readme

lint

eslint . --ext .ts,.js,.tsx,.jsx

format

prettier --write "**/*.{js,jsx,ts,tsx,md,css,json}" --ignore-path .gitignore

prettier:check

prettier --check "**/*.{js,jsx,ts,tsx,md,css,json}" --ignore-path .gitignore

make-readme

node ./scripts/make-hooks-list.js

typecheck

tsc --noEmit
npm i @casper124578/useful

Metadata

  • MIT
  • ^12.20.0 || ^14.13.1 || >=16.0.0
  • Dev-CasperTheGhost
  • released 8/12/2023

Downloads

Maintainers