Open source · Developer Productivity

Local Fixture Seeder

Seed local fixtures with deterministic data and documented reset behavior.

v0.1.0 · Node.js 22+ · MIT

Browse the public repository · View releases

An offline, zero-dependency fixture generator for tests that need small related JSON records. It makes synthetic groups and items from an explicit numeric seed, then records the generated files and their hashes in a reset manifest. The manifest helps a person inspect what was created; this tool never resets, deletes, connects to a database, or edits existing data.

This walkthrough uses the tool's public README and checked-in example files. Run the command from a repository checkout with Node.js 22+; inspect the source before using it on your own files.

Run the checked-in example

fixture_root=$(mktemp -d)
cp examples/clean/config.json "$fixture_root/config.json"
mkdir "$fixture_root/out"
node bin/local-fixture-seeder.mjs --root "$fixture_root" --input config.json --out out

Read the result

The command prints one JSON report to stdout and a short human summary to stderr. It creates groups.json, items.json, then reset-manifest.json in out. The two data files are deterministic for the same seed and profile, including seed 0. Every item refers to a generated group. --json suppresses the human summary. --help prints usage.

Where this check stops

This local walkthrough does not establish the state of a live production system or replace the limits documented in the repository.

Before adapting the command to your own workflow, review the accepted inputs, exit codes and safety boundaries in the README.

Compiled with AI assistance from checked-in public documentation and example scripts. Run the example and review the repository's current documentation before relying on its result.