1.0.7 • Published 6 years ago
167-hello-word v1.0.7
167-hello-world
- learn how to create publih and use a npm package
1 create the package
yarn init --yes
2 publish the package
npm login
npm publish
3 run the package
npx 167-hello-word
more
- package.json->main->index.js
- package.json->bin->cli