1.0.0 • Published 3 years ago

i0ek3_demo v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

npm-pkg-demo

Write your own npm package and publish it on npm.

Steps

1. Create project

$ mkdir pkg_name; cd pkg_name
$ npm init
$ vim index.js // write your own index.js file

2. Register npm account and publish

$ npm adduser  // or npm login
$ npm publish

3. Update and re-publish

$ vim index.js // modify your file
$ vim package.json // modify your version
$ npm publish