๐Ÿ”ฐpackage

JS โŸฉ module โŸฉ package

a chunk of code that can be distributed (copied and installed).

  • NPM is a repository of JavaScript packages.

A package may contain one or more modules and has information about which other packages (its dependencies) it depends on.

NPM packages or the code that runs on a web page may have gone through multiple stages of transformation โ€” converted from modern JavaScript to historic JavaScript, from ES module format to CommonJS, bundled, and minified.

Last updated