Why A Generator Built for the Second Run Makes Sense
Description and use
Jostraca enables safe regeneration of generator output, preserving manual edits and supporting multiple file update strategies.
Problem
Developers building generators need a way to regenerate output without erasing manual edits.
Outcome
Jostraca enables safe regeneration of generator output, preserving manual edits and supporting multiple file update strategies.
Workflow
- Install jostraca via npm
- Create a generator script using Jostraca APIs
- Define file generation strategies (write, preserve, present, diff, merge)
- Run the generator
- Edit generated files as needed
- Re-run the generator to see selective updates
Evidence
Any system or product where regeneration should not erase hours of work is a potential use case for Jostraca.
Jostraca provides five modes that determine what happens to an already-generated file.
- Record date: 2026-10-04T20:10:52.258Z