random-float
Generate random floating-point numbers for your applications.
- Status
- UnmaintainedNo commits in 1956 days.
- Last checked
- Checked · Oct 10, 2026
- License
- Open source
- Pricing
- Free tier · from $0
What it is
random-float is a simple and reliable npm package that allows developers to generate random floating-point numbers. This tool is essential for simulations, testing, and any application requiring stochastic behavior.
random-float stands out by offering a straightforward and efficient way to generate random floating-point numbers in JavaScript projects without the need for complex configurations or dependencies.
When it fits — and when it doesn’t
A good fit for
Developers needing a simple and reliable way to generate random floating-point numbers within their JavaScript projects.
Test engineers looking for easy-to-use tools for generating stochastic test data.
Look elsewhere if
Projects requiring complex statistical distributions beyond uniform randomness.
Applications where performance is critical, as this tool may add overhead.
Known weaknesses
Each one links to the public issue, changelog or docs page it came from, where we have one.
- 01
Limited functionality for complex distributions
random-float only supports uniform distribution and lacks support for other statistical distributions like normal or exponential.
- 02
Poor documentation for advanced use cases
The official documentation is basic and does not cover edge cases or complex scenarios, requiring users to dive into the source code for deeper understanding.
- 03
Lack of support for seed-based reproducibility
random-float does not provide a way to set a seed for random number generation, which is crucial for testing and debugging scenarios where consistent results are needed.
What it does well
Generates random floating-point numbers within specified ranges.
Easy to integrate into JavaScript projects via npm.
Lightweight and efficient.
Pricing
- Free tier
- YesOpen source — free to use
- Paid from
- $0
- Model
- Flat rate
- Enterprise plan
- No
Pricing not independently confirmed — check the vendor’s page.
Performance benchmarks
How Fast Is It?
Set up random-float
Setup steps, common gotchas and what to check after 30 days.
Get the badge
A small badge for random-float’s README or site: its name, “Tracked on AI Navigator”, and the availability status and check month from this page. It updates as the catalog does.
Markdown
[](https://navigateaitools.com/explorer/tool/random-float)HTML
<a href="https://navigateaitools.com/explorer/tool/random-float"><img src="https://navigateaitools.com/badge/random-float.svg" alt="random-float — tracked on AI Navigator" height="58"></a>