Post

🎲 We are currently making deep changes onto our internal random library called pure-rand. Expects lighter bundle on npm and faster to load at execution time within fast-check

Still wondering if we should go full ESM for it. The library is being used by #Jest so we are not sure we do that given they don't support require(esm)

We are currently trying to solve most of the issues that made the #faker project copy paste the code directly in their source code a few years ago

To date pure-rand is the fastest random generator library on npm. And it comes with plenty of built-in generators and distributions (to pull data outside of generators)

The next major is currently under active development and should come with several new distributions and maybe a few extra generators. But for generators we will have to carefully benchmark them one by one to keep our high throughput standard

0 reposts0 likes

Good idea 💡 I'm gonna think about it. Definitely something worth providing to ease the creation of multiple random streams.