Show HN: Pure Effect – Reproduce production bugs on your laptop without a DB (opens in new tab)
Pure Effect is a zero-dependency effect library for JavaScript and TypeScript. Your business logic returns plain objects describing the I/O it would perform, instead of performing it. You can read those objects in a test or replay them from a failed production run, and the database is never touched until the interpreter runs them.
Read the original article