0.2.5 • Published 5 years ago

config-service-mgr v0.2.5

Weekly downloads
1
License
ISC
Repository
-
Last release
5 years ago

Steps to create a simple npm package and publish it.

Pre-requisite

  1. Create a npm account if you don't have.

Create a project

  1. Create a project which you want to publish.
  2. Go to that folder and run npm init and follow the instructions.
  3. Give the appropriate package name because it will be publish the specified package name. Note: Package name must be unique.
  4. Create the index.js (or the file which you have mentioned while creating package.json) file.
  5. Add the functionality.
  6. Run npm publish (make sure you have already logged in. If NOTE then run, npm login)
  7. Visit your profile to see the published package. URL: https://www.npmjs.com/~your-username

Update the published npm package.

  1. In case of patch, run, npm version patch
  2. In case of minor, run, npm version minor
  3. In case of major, run, npm version major
  4. npm publish
  5. Verify the published package.
0.2.5

5 years ago

0.2.4

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago