patternmazhen

1.0.0 • Public • Published

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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i patternmazhen

      Weekly Downloads

      1

      Version

      1.0.0

      License

      MIT

      Unpacked Size

      715 B

      Total Files

      4

      Last publish

      Collaborators

      • mazhen1997