Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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())
```