Now you can use BukuRain as an npm package.
Publishing your own tools to npm is pretty simple; you just have to follow these 3 steps:
First, go to your package.json
and add an entry for bin
that points to your index.js
file or any file that plays the role of an entry in your application.
"bin": "./index.js",
Then you have to login into your npm account by running: npm login
Lastly you just have to publish your package with npm publish
Voila! You have published your package to the public 🥳
To install my package, you can read the instructions in my npm package or refer to the README of the project.
Top comments (0)