Packages

Packages enable you to build a program out of separate pieces or run these pieces on their own, and also apply the same pieces in different programs. A package is a chunk of code that can be distributed (copied and installed) on its own. It may contain one or more modules and has information about which other packages it depends on.

NPM is a repository of JS packages.

See also: JS Modules, JS npm