diff options
| author | Marak <[email protected]> | 2015-07-05 00:28:58 -0700 |
|---|---|---|
| committer | Marak <[email protected]> | 2015-07-05 00:28:58 -0700 |
| commit | 2db3a1effa4c0f76130a7d9325d12c06396e1313 (patch) | |
| tree | 50a2aaed8d1681dc0c00236950b4423333d26150 | |
| parent | 1271d05e1370496db417bbd3b31674d3338246cc (diff) | |
| download | faker-2db3a1effa4c0f76130a7d9325d12c06396e1313.tar.xz faker-2db3a1effa4c0f76130a7d9325d12c06396e1313.zip | |
[docs] Update README Closes #129
| -rw-r--r-- | build/src/docs.md | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/build/src/docs.md b/build/src/docs.md index c68b8006..8995c86d 100644 --- a/build/src/docs.md +++ b/build/src/docs.md @@ -23,7 +23,7 @@ ### Node.js - var faker = require('./faker'); + var faker = require('faker'); var randomName = faker.name.findName(); // Rowan Nikolaus var randomEmail = faker.internet.email(); // [email protected] @@ -41,6 +41,18 @@ See: https://github.com/pateketrueke/json-schema-faker/ Run faker generators from Command Line. See: https://github.com/lestoni/faker-cli +### Meteor + +#### Meteor installation + + meteor add practicalmeteor:faker + +#### meteor usage, both client and server + + 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 + ## Localization As of version `v2.0.0` faker.js supports 27 different language definition packs. |
