How to publish a node module to NPM Push repo to github Install package-validator (globally) npm install package-json-validator -g To validate package file pjv (from current directory) npm login Note: This will ask you for your npm username, password and a public email. npm publish