npm.io
1.0.4 • Published 7 years ago

unique_random_number-uuid

Licence
ISC
Version
1.0.4
Deps
0
Size
951 B
Vulns
0
Weekly
0

This module leverages the node crypto module to generate random integers within a range.

The crypto module uses /dev/random and /dev/urandom to produce random bytes on unix-y systems. usage React

var random = require('unique_random_number-uuid')

console.log( random(50, 10) ) // random integer between 10 and 50

React Native ES6

import random from 'unique_random_number-uuid';

console.log( random(50, 10) ) //

Keywords