About light-fakery
light-fakery
is a lightweight library for generating fake data in JS/TS.
Its guiding principles are:
- Structured as a pure ESM package
- Tree-shakable so you only bundle data you are using
- First class support for consuming the library in TypeScript
- Focused on fake data use cases that make sense in a business-y environment
- Easy to extend if you need additional data
- Zero dependencies
It uses the Mulberry32 algorithm to generate random numbers.
NOTE
I'm aware that Mulberry32 isn't state of the art. I might try to swap it out in a major bump at some point in the future, but on the other hand I think it's probably fine for the use case here.