Skip to main content

npm

Publish Package

Modify the version in package.json.

Use npm version to update package version.

npm version minor
npm publish

Unpublish

npm-unpublish

If you published a version and realized a problem with it, then you can unpublish it with the following command.

npm unpublish <package name>@<version>
npm unpublish [email protected]