random
random copied to clipboard
Open call for ideas + contributors
Hello beautiful software peoples,
imho, JavaScript has been in sore need of a rock solid random module for some time. I tried to find something robust and comprehensive ala boost::random, but the closest I could find were d3-random and seedrandom.
After @rcombs generously donated the npm module random to me, I wanted to try and set a baseline for the API and functionality that exists in this repo today. It's my hope that this will grow, but to get there I think it's important to ask for feedback from the community early on.
I'd like to extend an open invitation to anyone who sees the potential in this module to elicit feedback and/or join as collaborators.
To be clear, I definitely still see a lot of value in one-off modules like random-int and random-normal for the 95% use cases, but I think having a common core for supporting more advanced scenarios will be really useful in promoting scientific computing with JavaScript.
Just tried out random and gave up because -- no TypeScript declarations.
I need a seeded number generator for my TypeScript project, and with 3000+ projects out there with declarations, the lack of them means I'm going to move on to a generator that has them.
@TimMensch https://www.npmjs.com/package/random-extra
typescript version
@bluelovers @TimMensch random has now been rewritten in TS thanks to @agmoss. ❤️