Skip to content

Commit

Permalink
[dist] Rebuild sources and examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Marak committed Jul 31, 2015
1 parent 381e5c2 commit b4b515d
Show file tree
Hide file tree
Showing 142 changed files with 51,946 additions and 7,377 deletions.
8 changes: 6 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
[http://marak.com/faker.js/](http://marak.com/faker.js/)

## Hosted API Microservice

[http://faker.hook.io](http://faker.hook.io/)
- Supports all Faker API Methods
- Full-Featured Microservice
Expand Down Expand Up @@ -41,14 +42,15 @@ curl http://faker.hook.io?property=name.findName&locale=de

## API


### Faker.fake()

As of version `v3.0.0` faker.js contains a super useful generator method `Faker.fake` for combining faker API methods using a mustache string format.

**Example:**

``` js
console.log(faker.fake('{{name.lastName}}, {{name.firstName}} {{name.suffix}}'));
console.log(faker.fake(', '));
// outputs: "Marks, Dean Sr."
```

Expand Down Expand Up @@ -98,6 +100,8 @@ This will interpolate the format string with the value of methods `name.lastName
* future
* between
* recent
* month
* weekday
* fake
* finance
* account
Expand Down Expand Up @@ -212,6 +216,7 @@ faker.locale = "de";
* en_US
* en_au_ocker
* es
* es_MX
* fa
* fr
* fr_CA
Expand Down Expand Up @@ -279,7 +284,6 @@ See: https://github.com/lestoni/faker-cli
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

## Version Release Schedule

Expand Down
Loading

0 comments on commit b4b515d

Please sign in to comment.