NPM vs NPX

Devi - Mar 12 - - Dev Community

NPM:

=> Node Package Manager

=> As mentioned in name NPM is for install, delete, update JavaScript packages on your machine.

=> To install a package locally on a certain project we can use the comment

npm install package-name

NPX:

=>Node Package Executer

=> NPX is a tool that use to execute packages directly, without installing them.

=>npx comes bundled with npm version 5.2+ (or as a standalone package).

=>To execute the locally installed package package-name all you need to do is type:

npx package-name

. . . . . . . .
Terabox Video Player