Skip to content

Glossary: JavaScript Beyond the Basics

Package

Also written: packages, package.json, package-lock.json

Reusable code in a folder with a `package.json` describing it, installed from the npm registry. `package-lock.json` records the exact version of everything installed, so teammates and servers get identical code.

Where the book teaches it

Related terms

npmSemantic versioningnode_modules