aboutsummaryrefslogtreecommitdiff
path: root/index.js
diff options
context:
space:
mode:
authorFotoVerite <[email protected]>2014-05-17 15:35:45 -0400
committerFotoVerite <[email protected]>2014-05-17 15:35:45 -0400
commit3eee796fdff9f4226e211f01cd5926d3d05d28ae (patch)
treecdab238c20b7458b34da8f6e9933edbf4c83abea /index.js
parentdaa95b3a4f3eb5131970271be3820ddb45d30022 (diff)
downloadfaker-3eee796fdff9f4226e211f01cd5926d3d05d28ae.tar.xz
faker-3eee796fdff9f4226e211f01cd5926d3d05d28ae.zip
Moving to major new version for change of package name for uppercase to lowercase.
Diffstat (limited to 'index.js')
-rw-r--r--index.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/index.js b/index.js
index 94d7f184..da8b0838 100644
--- a/index.js
+++ b/index.js
@@ -1,19 +1,19 @@
/*
- this index.js file is used for including the Faker library as a CommonJS module, instead of a bundle
+ this index.js file is used for including the faker library as a CommonJS module, instead of a bundle
- you can include the Faker library into your existing node.js application by requiring the entire /Faker directory
+ you can include the faker library into your existing node.js application by requiring the entire /faker directory
var faker = require(./faker);
- var randomName = Faker.Name.findName();
+ var randomName = faker.Name.findName();
- you can also simply include the "Faker.js" file which is the auto-generated bundled version of the Faker library
+ you can also simply include the "faker.js" file which is the auto-generated bundled version of the faker library
- var Faker = require(./customAppPath/Faker);
- var randomName = Faker.Name.findName();
+ var faker = require(./customAppPath/faker);
+ var randomName = faker.Name.findName();
- if you plan on modifying the Faker library you should be performing your changes in the /lib/ directory
+ if you plan on modifying the faker library you should be performing your changes in the /lib/ directory
*/