Skip to content

chiefmouse/fakergb

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fakergb

fakergb is a fork of faker, itself a port of Ruby Faker library to the clojure programming language.

It is useful when you want to generate fake but good-looking data, such as in test scenarios or staging servers.

fakergb has data (specifically first and last person names, and person name suffixes) more authentically "British English".

This library is available via Clojars (and hence e.g. Leiningen).

Installation

The easiest way is to use Leiningen. Add the following dependency to your project.clj file:

[fakergb "0.2.3"]

Usage

(ns test
  (:use fakergb.name fakergb.lorem))

(def n (take 10 (names)))
(def p (take 10 (paragraphs)))

There are several more namespaces for generating:

  • Person names
  • Company names
  • Addresses
  • Domains and emails
  • Telephone numbers
  • Text

About

Clojure library for fake data generation, port of ruby faker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Clojure 100.0%