celeb-diwali
v1.0.1
Published
A simple node module which generates Diwali Wishes randomly.
Downloads
2
Maintainers
Readme
celeb-diwali
A simple node module which generates Diwali Wishes randomly.
Getting started
$ npm install --save celeb-diwali
Installation
This is a Node.js module available through the npm registry.
Before installing, download and install Node.js.
Installation is done using the
npm install
command:
$ npm install celeb-diwali
Usage
const diwali = require('celeb-diwali');
console.log(diwali.getRandomWish());
/*
May millions of lamps illuminate your life with endless prosperity, health, and wealth forever!
Wishing you & your family a very Happy Diwali!
*/
console.log(diwali.sendRandomWish("Vinit"));
/*
May you have all the joy your heart can hold,
All the smiles a day can bring,
All the blessings a life can unfold,
May you get the world’s best in everything.
Wishing You Happy Diwali.
Regards - Vinit
*/
console.log(diwali.sendDiwaliWish("Shreya","Vinit"));
/*
Hey Shreya,
A true and caring relation doesn’t have to speak loud,
a soft SMS is just enough to express the heartiest feelings.
Enjoy the festival of Diwali with lots of fun.
Wishing You Happy Diwali.
- Vinit
*/
Examples
To view the examples, clone the celeb-diwali repo and install the dependencies:
$ git clone https://github.com/vinitshahdeo/celeb-diwali.git
$ cd examples
$ npm install
Then run whichever example you want:
$ node demo.js
License
MIT © Vinit Shahdeo