Skip to content

Commit

Permalink
[dist] Regenerate build. Prep for release.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marak committed Jul 10, 2015
1 parent af543ac commit 50864ee
Show file tree
Hide file tree
Showing 140 changed files with 38,513 additions and 10,537 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#CHANGELOG

## v3.0.0 - v2.0.0 - Missing

See commit history on Github for change history
http://github.com/marak/faker.js

## v2.0.0

* Adds i18n internalization of fake data sets
Expand Down
4 changes: 2 additions & 2 deletions MIT-LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
faker.js - Copyright (c) 2014-2015
faker.js - Copyright (c) 2010-2015
Matthew Bergman & Marak Squires
http://github.com/marak/faker.js/

Expand All @@ -24,4 +24,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
10 changes: 6 additions & 4 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,21 @@

## API

## Faker.fake() Generator
### Faker.fake()

As of version `v3.0.0` faker.js contains a super useful generator method for combining faker methods using a mustache string format.
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:
**Example:**

```js
``` js
console.log(faker.fake(', '));
// outputs: "Marks, Dean Sr."
```

This will interpolate the format string with the value of methods `name.lastName()`, `name.firstName()`, and `name.suffix()`

### API Methods

* address
* zipCode
* city
Expand Down
Loading

0 comments on commit 50864ee

Please sign in to comment.