{"repo":"datafaker-net/datafaker","free":true,"listed":false,"github":"https://github.com/datafaker-net/datafaker","clone":"git clone https://github.com/datafaker-net/datafaker.git","description":"Generating fake data for the JVM (Java, Kotlin, Groovy) has never been easier!","language":"Java","stars":1791,"topics":["testing","faker"],"license":"Apache-2.0","category":"dev-tools","readme_excerpt":"Datafaker This library is a modern fork of java-faker with up to date libraries and several newly added Fake Generators. Datafaker 2.x has Java 17 as the minimum requirement. If Java 17 is not an option for you, you can choose to use Datafaker 1.x. Datafaker 1.x is built on Java 8, but this version is no longer maintained. We recommend all users to upgrade to Datafaker 2.x. This library generates fake data, similar to other fake data generators, such as: Ruby's faker gem Perl's Data::Faker library Python faker package PHP faker library Javascript Faker.js library It's useful when you're developing a new project and need some pretty data for showcase. Usage In the pom.xml, add the following fragment to the dependencies section: For Gradle users, add the following to your build.gradle file. You can also use the snapshot version ( 3.0.0-SNAPSHOT ), which automatically gets published after every push to the main branch of this repository. Binary repository URL for snapshots download is https://central.sonatype.com/repository/maven-snapshots/ . Get started In your Java code: Or in your Kotlin code: JShell or JShell w/JBang Expressions also more examples at https://www.datafaker.net/documentation/expressions/ Collections more examples about that at https://www.datafaker.net/documentation/sequences/ Streams Formats Schema There are 2 ways of data generation in specific formats 1. Generate it from scratch 2. There is already a sequence of objects and we could extract from them some v","default_branch":null,"files":null,"tree":[],"storefront":"/r/datafaker-net","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/datafaker-net/datafaker/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}