get unused files npm audit code example
Example: identify unused node modules
To run without installing use npx:
npx depcheck
npm install depcheck -g
or
yarn global add depcheck
To run without installing use npx:
npx depcheck
npm install depcheck -g
or
yarn global add depcheck