# native-npm-package
##### Steps and Learning
- use two folders package and test, package to publish , test to test locally
- create an github repo to upload the files in the package folder before initializing the npm init command
- use npm init command not with -y to provide as much info to your package as possible
- create the index.js or any file name you define for your initial package
- write your code init
- use npm link to link that code so if want to install package anywhere else you can do it
- use the link in the test folder with the name of the package to get the link and install the package locally
- package can be install by require method or by module import

##### for publising the code
- for simple publish -  npm publish - for it to work we need to logged in with the npm account to publish