How to publish an npm package

Create a User Account Create user: npm adduser or register at npm.org Login user: npm login Check current user: npm whoami Prepare package code { "name": "...", "version": "0.0.1", "description": "...", "devDependencies": {}, "main": "…