Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andkom/rand48-js
A rand48 random number generator implementation in pure JavaScript
https://github.com/andkom/rand48-js
generator javascript random random-generation
Last synced: about 7 hours ago
JSON representation
A rand48 random number generator implementation in pure JavaScript
- Host: GitHub
- URL: https://github.com/andkom/rand48-js
- Owner: andkom
- License: mit
- Created: 2018-10-06T20:51:05.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-08T08:50:08.000Z (about 6 years ago)
- Last Synced: 2024-10-03T08:10:27.237Z (about 1 month ago)
- Topics: generator, javascript, random, random-generation
- Language: JavaScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rand48.js
A rand48 random number generator implementation in pure JavaScript.
It's a default random number generator in Java. Also it was used in old versions of Firefox and other browsers.
Not cryptographically strong!
## Install
```bash
npm install rand48.js
```## Use
```javascript
const Rand48 = require('rand48.js')console.log(new Rand48().random())
```