npm-publish
TLDR
Publish package
SYNOPSIS
npm publish [path] [options]
DESCRIPTION
npm publish uploads package to registry. Makes package available for installation.
The command publishes to npm. Requires authentication and unique version.
npm publish uploads packages.
PARAMETERS
PATH
Package folder to publish.--tag TAG
Distribution tag.--access LEVEL
public or restricted.--dry-run
Don't actually publish.--otp CODE
2FA code.--help
Display help information.
CAVEATS
Requires npm account. Version must be unique. Can't unpublish easily.
HISTORY
npm publish is the primary mechanism for sharing packages on the npm registry.
SEE ALSO
npm(1), npm-version(1), npm-unpublish(1)
