@thi.ng/random

esm
Pseudo-random number generators w/ unified API, distributions, weighted choices, ID generation
Keywords
binarycryptodatastructuredistributionexponentialgaussiangeneratorgeometricnormalprngrandomtypedarraytypescriptuniformweighted
<script type="module"> import thiNgrandom from 'https://cdn.jsdelivr.net/npm/@thi.ng/random@4.1.16/+esm' </script>
All files
Selected files