1.0.3 • Published 5 years ago
prints-yourname v1.0.3
prints-yourname
Prints yourname , in to the console
USAGE:
install the package using command
npm i prints-yourname
you can use the package like this
$ echo "require('prints-yourname');" > index.js
$ node index.js
WHY?
just a fun package learning
HOW?
- create a folder ( prints-yourname) //its already taken now , so use a different one
- cd
- npm init ( and fill those details )
- touch index.js
- write stuff inside index.js ( i just wrote console.log("secretstuff");)
- npm login
- npm publish
The only requirement to publish to npm registry is package.json . how cool is that .
I have learnt packaging for Brew , pip , apt ... but this is the one i really liked :)