x/mtrand@v1.0.0

mt19937 for Deno
GitHub Stars
0
Latest
# 🦕 deno-mtrand
[Deno](https://deno.land) module starter repository.
## Usage
```typescriptimport { mtrand } from "https://deno.land/x/mtrand/mod.ts";
const rand = mtrand(0);for(let i=0; i<10; i++) { console.log(`${i} - ${rand.next().value}`)}```
### castUint32cast number to Uint32parameter number
### mtrandgenerate number with mt19937 methodparameter number
## Test
```bash# unit testsdeno ./test.ts```
## Format code
```bashdeno fmt **/*.ts```
## Resources
- [Deno Website](https://deno.land)- [Deno Style Guide](https://deno.land/std/style_guide.md)- [Deno Gitter](https://gitter.im/denolife/Lobby)