it:ad:npm:howto:publish_a_package

IT:AD:npm:HowTo:Publish A Package

Create a user account:

create a user account
npm adduser

Provide a username, password, and email address, and an npm registry account will be created.

Login to the site:

login
npm login

To publish a package, cd to the package root folder.

Next, go to the local root folder (where the package.json file is), and use npm publish (it will use the name, description, etc. within the package.json):

publish the package
npm publish
  • /home/skysigal/public_html/data/pages/it/ad/npm/howto/publish_a_package.txt
  • Last modified: 2023/11/04 01:51
  • by 127.0.0.1