1.0.3 • Published 3 years ago

kpmd-random-number v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

What is this Package

This is simple package created to know how to create npm package and how to publish to npm using following link How to create and publish npm package

Purpose of the package

Generate and return a random number for given input min and max values

Install Nodejs in the system

Create a test directory and run following commands

    mkdir random-number-test
    cd random-number-test
    npm init
    npm i kpmd-random-number

Create a test file

touch test.js

Copy this simple test code and paste it in the test.js file.

const random = require('kpmd-random-number');
random(400,600);

output: In Console it will print generated random number

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago