hello-rabbit-npm
v1.0.1
Published
minimal npm package
Downloads
2
Readme
installation
npm install --save-dev hello-rabbit-npmexample usage
create a test folder and inside the test folder run
npm initor go inside an existing npm project
inside a script.js (inside your npm project that has the
hell-rabbit-npmpackage installed via npm), you can use the different functions provided by the hello-rabbit-npm package
script.js
const zoo = require("hello-rabbit-npm");
console.log(zoo.helloCat());
console.log(zoo.helloCow());
console.log(zoo.helloRabbit());run the script
node script.jswill output:
🐈🐈🐈
🐄🐄🐄
🐇🐇🐇