Skip to content

mtojo/node-mt19937

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-mt19937

Generates a better random number for Node.js.

Installation

npm install --save https://github.com/mtojo/node-mt19937.git

Usage

const {rand, srand} = require('mt19937');
srand(Math.floor(Math.random() * 100000000));
const n = rand();

License

MIT

About

Generates a better random number for Node.js

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors