Overview

fodder is a command line tool to generate data according to a supplied schema. It is predominantly aimed at rapid prototyping and testing, allowing you to generate data quickly and easily so you can focus on the important stuff! It's feature set is not comprehensive, but it is sufficient for most use cases.

It follows the Unix philosophy of doing just one thing, and doing it well. Output always goes to standard output so it can be piped to another command or redirected to a file.

Features

  • Supports CSV, JSON and NDJSON output formats
  • Field values can be a lookup in an external file, see Maps
  • Field values can be selected from a list defined in an external file, see Categories
  • Schema files can be dynamically linted when using Visual Studio Code with a little set up, see Linting and Autocompletion
  • Single binary distribution, easily installed on any platform, see Installation

Use cases

  • Prototyping (POC's)
  • Supplying data to development environments
  • End-to-end pipeline testing

Goals

The eventual goal is to make it so easy to generate fake data that it becomes a standard part of the development process and it is no longer necessary to use real data outside of production environments.