faker 0.0.5 copy "faker: ^0.0.5" to clipboard
faker: ^0.0.5 copied to clipboard

outdatedDart 1 only

A library for generating fake data

faker #

Build Status Coverage Status

A library for Dart that generates fake data.

faker is heavily inspired by the Python package faker, and the Ruby package ffaker.

Usage #

A simple usage example:

import 'package:faker/faker.dart';

main() {
  var faker = new Faker();

  faker.internet.email();
  // francisco_lebsack@buckridge.com

  faker.internet.ipv6Address();
  // 2450:a5bf:7855:8ce9:3693:58db:50bf:a105

  faker.internet.userName();
  // fiona-ward

  faker.person.name();
  // Fiona Ward

  faker.person.prefix();
  // Mrs.

  faker.person.suffix();
  // Sr.
}

Features and bugs #

Please file feature requests and bugs at the issue tracker.

Copyright (c) 2015 Jesper Håkansson. See LICENSE for details. Copyright (c) 2013 Emmanuel Oga. Copyright (c) 2012 Daniele Faraglia. Copyright (c) 2007 Benjamin Curtis.

818
likes
30
pub points
98%
popularity

Publisher

unverified uploader

A library for generating fake data

Repository (GitHub)
View/report issues

License

MIT (license)

More

Packages that depend on faker