faker-ext

Additional methods for Faker

npm install faker-ext
1 downloads in the last day
23 downloads in the last week
25 downloads in the last month

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
npm loves you