Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
How to use npx: the NPM package runner
2 points by harrymt on April 6, 2018 | hide | past | favorite | 1 comment
Npx is a replacement for doing this:

$ node ./node_modules/.bin/mocha

Now you can use it to reach into your node modules folder, like:

$ npx mocha

See more examples: http://blog.scottlogic.com/2018/04/05/npx-the-npm-package-runner.html






Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: