faker2
v0.5.0
Published
Generate massive amounts of fake contextual data
Downloads
15
Readme
Faker.js - generate massive amounts of fake data in the browser and node.js
Forked from Marak's original due to inactivity in the project (see https://github.com/Marak/Faker.js/issues/25).
Marak please push your latest to npm and I can stop using this?
USAGE
browser -
<script src = "Faker.js" type = "text/javascript"></script>
<script>
var randomName = Faker.Name.findName(); // Caitlyn Kerluke
var randomEmail = Faker.Internet.email(); // [email protected]
var randomCard = Faker.Helpers.createCard(); // random contact card containing many properties
</script>
node.js -
usage
var Faker = require('./Faker');
var randomName = Faker.Name.findName(); // Rowan Nikolaus
var randomEmail = Faker.Internet.email(); // [email protected]
var randomCard = Faker.Helpers.createCard(); // random contact card containing many properties