wildit
v0.0.1-beta.5
Published
A utility package for generating random values including numbers, strings, and objects, with support for custom probabilities and weighted distributions.
Maintainers
Readme
wildit
Random value generator for TypeScript. This project provides utilities to generate random numbers, strings, and other data types, useful for testing, simulations, and general development.
Installation & Usage
Install dependencies:
pnpm installRun unit tests:
pnpm run testBuild the library:
pnpm run buildImport and use in your project:
import RandomValues from 'wildit';
const randomizer = createRandomValues(12345)
console.log(randomizer.random()) // Random float between 0 and 1License
This project is licensed under the MIT License. See the LICENCE file for details.
Issues
Found a bug or have a suggestion? Please open an issue describing the problem or improvement.
Contributing
Contributions are welcome! To contribute:
- Fork the repository.
- Create a branch for your feature:
git checkout -b feature/new-feature - Make your changes and commit them.
- Open a pull request explaining your contribution.
Please follow good coding practices and make sure all tests pass before submitting your PR.
