diff options
| author | Marak <[email protected]> | 2021-02-14 23:34:47 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-02-14 23:34:47 -0500 |
| commit | 34f5e321a9574d1ea3fae15b1da9fd70f90f625f (patch) | |
| tree | 80c645900c09ec7a6dec5bcb1e9ed0702af93b3b /lib/index.js | |
| parent | d46704096eb49b683076441d9049ab1fbd23d7ff (diff) | |
| parent | 58550cd1cacea36904c36649d2c4f9787f0a9147 (diff) | |
| download | faker-34f5e321a9574d1ea3fae15b1da9fd70f90f625f.tar.xz faker-34f5e321a9574d1ea3fae15b1da9fd70f90f625f.zip | |
Merge branch 'master' into use-french-cities-name
Diffstat (limited to 'lib/index.js')
| -rw-r--r-- | lib/index.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/index.js b/lib/index.js index 205adec5..9a0b3bd9 100644 --- a/lib/index.js +++ b/lib/index.js @@ -56,6 +56,9 @@ function Faker (opts) { var Address = require('./address'); self.address = new Address(self); + var Animal = require('./animal'); + self.animal = new Animal(self); + var Company = require('./company'); self.company = new Company(self); @@ -104,6 +107,7 @@ function Faker (opts) { var _definitions = { "name": ["first_name", "last_name", "prefix", "suffix", "gender", "title", "male_prefix", "female_prefix", "male_first_name", "female_first_name", "male_middle_name", "female_middle_name", "male_last_name", "female_last_name"], "address": ["city_name", "city_prefix", "city_suffix", "street_suffix", "county", "country", "country_code", "country_code_alpha_3", "state", "state_abbr", "street_prefix", "postcode", "postcode_by_state", "direction", "direction_abbr", "time_zone"], + "animal": ["dog"], "company": ["adjective", "noun", "descriptor", "bs_adjective", "bs_noun", "bs_verb", "suffix"], "lorem": ["words"], "hacker": ["abbreviation", "adjective", "noun", "verb", "ingverb", "phrase"], |
