Execute npm Package Binaries with the npx Package Runner

Elijah Manor

Elijah Manor

Elijah Manor is a Christian and a family man. He works at LeanKit as a senior software engineer and focuses on front-end development

About the Course

You can’t be everywhere at once. Neither can node packages. But with a utility called npx — included in npm v5.2 and later — you can interact and run with node modules even if they’re not downloaded locally. The same is true for gists and remote branches of GitHub. As long as npm installed, your work can be wherever you are.

This course from Elijah Manor unlocks the power of the npx utility. Over 17 minutes, we will examine the npx package runner and look through various scenarios where the tool is helpful when running node packages from the command line. You’ll learn to use npm to:

  • test out various versions of a package
  • run packages without globally installing
  • run code directly from GitHub
  • make working with packages much easier