Generate Fake Data in the Browser and Node.js Using Falso

Netanel Basal
Netanel Basal
Published in
2 min readJan 27, 2022

Falso is a modern alternative to Faker.js. Fake data can be useful when building and testing applications. Falso can generate fake data in various areas, including address, commerce, company, date, finance, image, random, and more.

Falso isn’t a fork of Faker.js. It’s a new implementation with Typescript support, and it’s tree-shakable. It provides 169 generators, including entity functions such as randTodo, randPost, etc.

In addition to producing a single item of fake data, False can also produce a collection of fake data:

On our documentation website, you can see and try all the functions Falso offers:

Give us a star if you appreciate what we’ve done. 🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟

🧙‍♀️ Contribution

You are welcome to contribute! Let us build the next generation of mock data together!

For those looking to contribute for the first time to an open-source, Falso is an excellent choice!

There was a lot of community effort put into building this library. I want to thank everyone who took part in this, you rock!

What’s Next?

🌐 Locale support
💪 More Generators
🎯 Improve data accuracy

Follow me on Medium or Twitter to read more about Angular and JS!

--

--

Netanel Basal
Netanel Basal

Written by Netanel Basal

A FrontEnd Tech Lead, blogger, and open source maintainer. The founder of ngneat, husband and father.

Responses (3)