• npm publish First create an account: https://www.npmjs.com/signup. Suppose you have a hello world package. Setup a github repo for it and include important instructions in the README.md. The most difficult part is setting up the configurations in your package.json and…