Faker.js

# generate massive amounts of fake data in the browser and node.js

Build Status (opens new window) Coverage Status (opens new window) npm version (opens new window) OpenCollective OpenCollective

# Browser Demo

https://rawgit.com/Marak/faker.js/master/examples/browser/index.html (opens new window)

# Hosted API Microservice

http://faker.hook.io (opens new window)

curl http://faker.hook.io?property=name.findName&locale=de

# Usage

# Browser

<script src = "faker.js" type = "text/javascript"></script>
<script>
    var randomName = faker.name.findName(); // Caitlyn Kerluke
    var randomEmail = faker.internet.email(); // Rusty@arne.info
    var randomCard = faker.helpers.createCard(); // random contact card containing many properties
</script>

# Node.js

var faker = require('faker');

var randomName = faker.name.findName(); // Rowan Nikolaus
var randomEmail = faker.internet.email(); // Kassandra.Haley@erich.biz
var randomCard = faker.helpers.createCard(); // random contact card containing many properties