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
Nginx Reverse Proxy Configuration Read tip
Github Profile README Chess Game Read tip
Single (Non-)WWW and HTTPS Redirect in Apache Read tip