Skip to content

Run Locally Installed NPM Library

View on Twitter

💡 Want to run a locally installed CLI library without adding it to npm scripts?

👉🏼 NPX will look into your node_modules/.bin/ folder before downloading from the web.

➡️ ./node_modules/.bin/eslint myfiles.js ❌
➡️ npx eslint myfile.js ✅

You might also like
Playground Application for JavaScript and Node.js Read tip
Debug SSH Connection Failures Read tip
Project Ideas List Read tip