npm Registry

https://npmjs.com Registry

  1. Create an npm account: https://npmjs.com
  2. Login to npm: npm login
  3. Create a package: npm init, and writing your package code.
  4. Publish your package: npm publish, making it available for others to install and use.
  5. Update your package:npm publish again.

cli how to

  1. package.json
"bin": {
  "devwords": "./bin/devwords-cli.js"
},
  1. devwords-cli.js
#!/usr/bin/env node
  1. link to local cli
npm link
What Else?
inflearn react api server -50% 할인쿠폰: 15108-f2af1e086101 buy me a coffee