Live data from Hacker News

Faker.js – generate fake data in the browser and Node

github.com

21–30 of 31 posts

Re: Faker.js – generate fake data in the browser and Node

#23
I used this at one point when I needed a large synthetic "customer" dataset, and found the sample size to be somewhat limited. I had to munge first/last names with added random characters. But looking at it now, it appears that's improved. For example, there are about 3000x500 first/last name combinations, for a total of about 1.5M possible full names (for en_US). However, if you need, say, as many unique last names as possible, 500 might still be too few. Still, a nice project.

Re: Faker.js – generate fake data in the browser and Node

#24

The only one anyone needs - is the list of fake todos, generated using https://github.com/bahmutov/fake-todos See demo at http://glebbahmutov.com/fake-todos/

"avoid cleaning bird" was in my fake list. I don't know whether it looks disturbing or nonsensical.

Re: Faker.js – generate fake data in the browser and Node

#25
It can help a lot when writing UI/Selenium tests with mocked/fake backend (as long as the application data model is well defined). i also wrote a similar library around es6 generators that defines application data structures as plain JS objects and generates data objects out of it using fake random data https://github.com/dmitriiabramov/sharkhorse

Re: Faker.js – generate fake data in the browser and Node

#28

I used this at one point when I needed a large synthetic "customer" dataset, and found the sample size to be somewhat limited. I had to munge first/last names with added random characters. But looking at it now, it appears that's improved. For example, there are about 3000x500 first/last name combinations, for a total of about 1.5M possible full names (for en_US). However, if you need, say, as many unique last names…

Faker.js now supports something like 30+ locales.

This should expand the amount of name combinations considerably.

Post reply on HN