3.4.0 • Published 3 years ago

@aureooms/js-random v3.4.0

Weekly downloads
1
License
AGPL-3.0
Repository
github
Last release
3 years ago

:game_die: @aureooms/js-random

Randomness algorithms for JavaScript. See docs. Parent is @aureooms/js-algorithms.

:warning: Depending on your environment, the code may require regeneratorRuntime to be defined, for instance by importing regenerator-runtime/runtime.

import {
	randint , // randint(i, j) -> [i, j[ \cap ZZ
	randfloat , // randfloat(i, j) -> [i, j[
	sample , // /!\ in-place
	shuffle , // /!\ in-place
} from '@aureooms/js-random' ;

License Version Tests Dependencies Dev dependencies GitHub issues Downloads

Code issues Code maintainability Code coverage (cov) Code technical debt Documentation Package size