diff options
| author | Ronen Babayoff <[email protected]> | 2015-08-23 21:57:46 -0400 |
|---|---|---|
| committer | Ronen Babayoff <[email protected]> | 2015-08-23 21:57:46 -0400 |
| commit | 66996e280c9fbbbc2e7db376549f568be32ad5cd (patch) | |
| tree | e93f412c4bceeb7ed0376e26113c9d31522af8b4 /examples/node/minimal-usage.js | |
| parent | cf0bd70d5fca9c0169414f5d2c16ca32431a3fd9 (diff) | |
| parent | d8f8108ac5dbec7e2b7ea9a23dd19aa42255e3fb (diff) | |
| download | faker-66996e280c9fbbbc2e7db376549f568be32ad5cd.tar.xz faker-66996e280c9fbbbc2e7db376549f568be32ad5cd.zip | |
Merge v3.0.1 into practicalmeteor:faker package branch
Diffstat (limited to 'examples/node/minimal-usage.js')
| -rwxr-xr-x | examples/node/minimal-usage.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/node/minimal-usage.js b/examples/node/minimal-usage.js new file mode 100755 index 00000000..fed063a4 --- /dev/null +++ b/examples/node/minimal-usage.js @@ -0,0 +1,13 @@ +#!/usr/bin/env node + +var faker = require('../../index'); +faker.locale = "en"; + +//console.log(faker.address) +console.log(faker.internet.email()) +console.log(faker.date.recent()) +console.log(faker.helpers.contextualCard()); + +faker.locale = "uk"; + +console.log(faker.helpers.contextualCard());
\ No newline at end of file |
