npm.io
1.0.0 • Published 5 years agoCLI

patterndingyushaui

Licence
MIT
Version
1.0.0
Deps
0
Size
724 B
Vulns
0
Weekly
0

111-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 111-hello-world

more

  • package.json->main->index.js
  • package.json->bin->cli