1.0.2 • Published 7 years ago

helloworld-chandran.dipak v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
7 years ago

Hello World!

This is the first package create as part of learning on how to create an NPM package and publish publically, and use it on other projects. Thanks for checking this out.

STEPS Followed to create this package:
  1. Create a new directory
  2. run command npm init
  3. provide required informations
  4. create index.js
  5. write the code feature and export function as module
  6. run npm adduser - create a new user in npm
  7. run npm login - to login with current user
  8. run npm publish - to publish your package
NOTES :
  • Make sure your package name in package.json is unique.
Reference:
Use this package in your project:

run npm install helloworld-chandran.dipak or npm install helloworld-chandran.dipak --save

Sample Code:
    var HW = require('helloworld-chandran.dipak');
    HW.print("Hellwo");