npm-publish

Publish a package

SYNOPSIS

npm publish <tarball> [--tag <tag>]
npm publish <folder> [--tag <tag>]

DESCRIPTION

Publishes a package to the registry so that it can be installed by name.

Fails if the package name and version combination already exists in the registry.

Once a package is published with a given name and version, that specific name and version combination can never be used again, even if it is removed with npm-unpublish(1).

SEE ALSO