Code Shipping - Packaging ( Archive | Container ) in Javascript.
A Package is a distribution format that wraps:
All packages follow the npm specification and adhere to the package.json semantic.
How to create a package (module): Node - Module (ie NPM Module)
The unique identifier is its name and version together defined in the package.json
A package is:
npm install git+ssh://[email protected]:isaacs/sax-js.git#cae7b6fb8c
npm install sax@git+ssh://[email protected]:isaacs/sax-js.git#cae7b6fb8c
npm install git+https://[email protected]/isaacs/sax-js.git#cae7b6fb8c
To create a scoped package, you simply use a package name that starts with your scope.
{
"name": "@username/project-name"
}
See:
Turn the folder into a package by generating a package.json file
yarn init
// or
npm init -y
A package can be installed
See: