npm¶
How to Publish & Update a Package¶
https://docs.npmjs.com/getting-started/publishing-npm-packages
创建用户
在https://www.npmjs.com/创建或使用命令创建
npm adduser
在终端使用 npm login
登录.
测试登录
npm whoami
Check that your username has been added to the registry at https://npmjs.com/~username.
发布
npm publish