Fake identities generator for node.js (names, addresses, phones, IPs and others). Supports multiple languages.
Fake identities generator for node.js (names, addresses, phones, IPs and others).
This is node.js port of ruby's Faker library (v1.4.3 now), that generates fake identities for names, addresses, phone numbers, emails and others.
browserify is supported with some differences:
$ npm install charlatan
var Charlatan = ;var name = CharlatanNamename; // Joshua Lemke MDvar email = CharlatanInternet; // firstname.lastname@example.org company = CharlatanCompanyname; // Wilkinson LLC
Different countries have different data formats. Charlatan support locales as solution of this problem.
var Charlatan = ;Charlatan;CharlatanNamename;
Also you can use your own locale in yaml, json or plain hash.
var Charlatan = ;Charlatan;Charlatan;CharlatanNamename;
Note: If phrase not found in current locale, charlatan tries to then
fallback into to base language, and then to
en. For example
ru-RU -> ru -> en.
Author Eugene Shkuropat