1.0.1 • Published 5 years ago

random-num-project v1.0.1

Weekly downloads
1
License
ISC
Repository
-
Last release
5 years ago

Random

This npm package to given random interger number.

installation

npm i random-num-project --save

after....

How it's Work!

const app = require('random-num-project');

//The maximum is exclusive and the minimum is inclusive
// function: app.random(min, max) 

let number = app.random(1,5)

// Display result 
console.log(number);

/*
    Here, if you use node.js you simply command node js_file_name then you want to display in browser
    yor want to  browserify because browser doesn't
    recognize server module pkg.


*/