Publishing a package

suggest change

First, configure the package as described in Setting up a package configuration. Then log in to npm.

If you already have an npm user:

npm login

If you do not have a user yet, npm adduser is the same command.

Check the logged-in account with:

npm whoami

When the package is ready:

npm publish

To publish again, bump version first. See Basic semantic versioning. npm rejects a version that is already in the registry.

{
  "name": "package-name",
  "version": "1.0.4"
}

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents