What are the benefits of publishing npm packages
- It is convenient for teams or cross-teams to share code, and it can be easily managed by using npm packages, and version control can also be performed
- It is a necessary technology to make open source wheels, otherwise, how can the finished wheels be used by others? Is it a U disk copy?
- I asked this when I was interviewing Byte
- Increase personal IP to let more people know your technical ability and contribution
Pre-launch work
npm adduser
First check whether it is an npm source and then create an npm account
After the creation is complete, use npm login to log in to the account
After the login is complete, use npm publish
to publish the npm package
If the release is successful, if 403 appears, it means that the package name is occupied