Skip to content
This repository has been archived by the owner on Jun 17, 2020. It is now read-only.

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jbueza committed Jul 6, 2013
1 parent 870dc88 commit 96d81ba
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 8 deletions.
2 changes: 2 additions & 0 deletions META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Manifest-Version: 1.0

33 changes: 25 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,38 @@
# Faker.java

A tool for generating fake data. This is inspired by Faker.js, Faker.rb.
![687474703a2f2f696d6775722e636f6d2f4b69696e512e706e67](https://f.cloud.github.com/assets/25766/756187/4a2b7b6e-e5f4-11e2-96a5-e7a01e5c51be.png)

A tool for generating fake data. This is inspired by [Faker.js](https://github.com/Marak/Faker.js), [Faker.rb](https://github.com/stympy/faker).

## Usage


### Person API

```java
Faker faker = new Faker();

String name = faker.Person().fullName(); // Jaime Bueza
String firstName = faker.Person().firstName(); // John
String lastName = faker.Person().lastName(); // Smith
```

### Company API

```java
Faker faker = new Faker();

String firstName = faker.firstName();
String lastName = faker.lastName();
String address = faker.address();
String firstName = faker.firstName();
String firstName = faker.firstName();
String companyName = faker.Company().name(); // Adaptive Infrastructures Inc.
```

### Lorem Ipsum API

```java
Faker faker = new Faker();

String paragraphs = faker.LoremIpsum().paragraphs(2); // Generates two paragraphs
```

## Download
## License

Download the jars
MIT.

0 comments on commit 96d81ba

Please sign in to comment.