aboutsummaryrefslogtreecommitdiff
path: root/examples/node/singleLocale.js
diff options
context:
space:
mode:
authorRonen Babayoff <[email protected]>2015-08-23 21:57:46 -0400
committerRonen Babayoff <[email protected]>2015-08-23 21:57:46 -0400
commit66996e280c9fbbbc2e7db376549f568be32ad5cd (patch)
treee93f412c4bceeb7ed0376e26113c9d31522af8b4 /examples/node/singleLocale.js
parentcf0bd70d5fca9c0169414f5d2c16ca32431a3fd9 (diff)
parentd8f8108ac5dbec7e2b7ea9a23dd19aa42255e3fb (diff)
downloadfaker-66996e280c9fbbbc2e7db376549f568be32ad5cd.tar.xz
faker-66996e280c9fbbbc2e7db376549f568be32ad5cd.zip
Merge v3.0.1 into practicalmeteor:faker package branch
Diffstat (limited to 'examples/node/singleLocale.js')
-rw-r--r--examples/node/singleLocale.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/node/singleLocale.js b/examples/node/singleLocale.js
new file mode 100644
index 00000000..e5b504f3
--- /dev/null
+++ b/examples/node/singleLocale.js
@@ -0,0 +1,7 @@
+var faker = require('../locale/en');
+
+console.log(faker.name.findName());
+
+var faker = require('../locale/uk');
+
+console.log(faker.name.findName()); \ No newline at end of file