Hi everyone 👋. In this article, I'm going to discuss how to push your own packages to the npm registry.
To publish npm packages you must have an npm user account. Sign up for an npm user account using https://www.npmjs.com/signup link.
Open a command line tool in your package and type the below command. and then enter your username, password, email address and OTP.
Then use npm command
npm publish to publish your package to npm registry
.This is the package I published to the npm registry ✌️.