random-num-project

1.0.1 • Public • Published

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.


*/




Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i random-num-project

      Weekly Downloads

      2

      Version

      1.0.1

      License

      ISC

      Unpacked Size

      1.2 kB

      Total Files

      3

      Last publish

      Collaborators

      • nishantsolanki