The github web editor works well for testing simple use cases on the type level where you don't have to run the actual code. Using terminals is not possible in the integrated GitHub web editor (without having to set up a codespace) which makes it impossible to run small scripts (like v...
PR #1698 Add warn for positional arguments when using Faker 2.0 @koic Add deprecation warning for positional arguments to notify users that are coming from Faker version < 2.0. Its main goal is to make upgrades easier.DocumentationPR #1688 Update README install instructions @EduardoGHdez PR #...
faker.js contains a super useful generator method Faker.fake for combining faker API methods using a mustache string format.Example:console.log( faker.fake("{{name.lastName}}, {{name.firstName}} {{name.suffix}}") );This will interpolate the format string with the value of methods name....
similar to facilities found in the Korn shell and the GNU Bash shell. This is implemented using the GNU Readline library, which supports various styles of editing. This library has its own documentation which we won’t duplicate here.
Fixes: #3129 Add lazy loadable faker to our documentation #3129 This PR allows users of our website to load faker into the browser console using a simple command. await enableFaker() You can t...
Faker contains a super useful generator method Faker.fake for combining faker API methods using a mustache string format.Example:console.log( faker.fake('{{name.lastName}}, {{name.firstName}} {{name.suffix}}') );This will interpolate the format string with the value of methods name.last...
Clear and concise description of the problem Currently, the documentation only provides a single example per invocation, this could result in wrong expectations of method return values. See: #3283 Suggested solution Adding a refresh butt...
As a developer using faker I want to be able to generate random continent names. Suggested solution A newlocations.continentmethod. Alternative No response Additional context Implementation is here:#3162 👍3github-actions[bot], joscha, and matthewmayer reacted with thumbs up emoji ...
faker.seed examples are not consistent after refresh Before refresh After refresh
Using the same random seed as your testsTo get repeatable results in Minitest or Rspec, follow these instructions.Unique resultsYou can get unique value from any methods in FFaker like this:FFaker::Name.unique.nameTODOEven though the API is pretty simple, better rdoc documentation would not ...