Changelog

JavaScript Icon changelog.com

Faker.js - Generate fake data in Node.js or in your browser

logged by @logbot 2010-05-17T14:50:17Z permalink #javascript

Inspired by Ruby’s Faker gem and Perl’s Data::Faker, Faker.js lets you create large amounts of fake yet contextual data. Need a fake name for a form or fixture?

Faker.Name.findName();
=> "Webster Jakubowski"

What about a zip code?

Faker.Address.zipCode();
=> "07555-2886"

Company catchphrase?

Faker.Company.catchPhrase();
=> "Multi-channelled reciprocal attitude"

There is a demo on the project homepage which is also included in the examples folder.

[Source on GitHub] [Homepage]

0:00 / 0:00