1.2.1 • Published 6 months ago

random-greet-mssg v1.2.1

Weekly downloads
-
License
ISC
Repository
-
Last release
6 months ago

random-greet-mssg

How to use this?

  • install this module in your project directory
npm install random-greet-mssg
  • import randomByeMssg/randomGreetMssg or both in your js file
import {randomByeMssg, randomGreeMssg} from 'random-greet-mssg';
//NOTE: to use in browser you need to include entire path instead of just "random-greet-mssg"
//something like this "./node_modules/random-gree-mssg/function.js" 
  • use functions:
    1. randomGreetMssg :
      console.log(randomGreeMssg("name"));
      //will output a random greet message + name
      //for e.g. hello name!
    2. randomByeMssg :

      console.log(randomByeMssg());
      //will output a random bye message
      //for e.g. bye.
1.2.1

6 months ago

1.2.0

6 months ago

1.0.0

6 months ago