0.0.3 • Published 4 years ago

@minenode/wasm-java-random v0.0.3

Weekly downloads
7
License
MIT
Repository
github
Last release
4 years ago

wasm-java-random

A full implentation of Java's java.util.Random class for JavaScript, written in WebAssembly using AssemblyScript.

In theory, this is portable across Node.JS and modern browsers.

See index.d.ts for the exported API.

yarn add @minenode/wasm-java-random

TODO: Modify Random#nextInt to read data from WASM memory for performance.


Copyright © MineNode. Licensed under the MIT License.