Install and setup husky quickly
npm install husky-init> Install and setup husky quickly
auto-husky - interactive mode and more options
``shell`
npx husky-init && npm install # npm
npx husky-init && yarn # Yarn 1
npx husky-init --yarn2 && yarn # Yarn 2+
If package.json is in a subdirectory (e.g. not in the same directory as .git`), please see https://typicode.github.io/husky/#/?id=custom-directory or use auto-husky.
https://typicode.github.io/husky