@andersonalmeidax0/hello-npm-package
v1.0.0
Published
Test package
Downloads
4
Readme
Test package
how to init git
- git init
- vscode remote link
- create code, commit, etc
init npm packge local
- npm init (public) or (scoped) npm init --scope=@your-username
- add info (decide package name) (ex: hello-npm-package or @andersonalmeidax0/hello-npm-package)
- version
test local
- in the npm dir "npm link" to made globally acessible on local machine
- create tester code in another path
- npm link
- in code: require , run and test require('@andersonalmeidax0/hello-npm-package') or require('hello-npm-package')
publish
- npm login
- npm publish --access public