Additional methods for Faker.js
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
address
text
README.md
index.js
package.json
redefine.js

README.md

faker-ext

Additional methods for Faker.js.

  • Address
    • country
      • any
      • africa
      • antarctica
      • asia
      • europe
      • north_america
      • south_america
      • oceania
      • isoAlpha2 - from ISO-3166 repository, returns Object with country name and alpha-2 code (e.g. DE), compatible with CSS sprites like Flag Sprites
      • isoAlpha3 - from ISO-3166 repository, returns Object with country name and alpha-3 code (e.g. DEU)
  • Helpers
  • random
    • boolean
    • time( [options] ) - options is an optional object with a [separator] (string, default is ":") and [period] (number, 12 || 24, default is 24) keys.
  • Text
    • headline - standard length news headline

Bitdeli Badge