Dev.to
7/25/2026

The original title is about a tool called "eco-faker" that generates fake e-commerce test data. Let me rewrite this for a mobile feed.
Original: How to Generate Realistic E-Commerce Test Data in 2 Lines of Code
Short summary
eco-faker is an open-source npm package that generates relationally consistent e-commerce test data — users, carts, orders, shipments, and returns all linked correctly with balanced financials and sensible timelines. It supports deterministic seeds, scenario presets like black-friday and supply-chain-crisis, and outputs SQL, CSV, or JSON. Additional CLI commands serve a live mock REST API, lint dataset integrity, and fuzz-test your validation layer.
- •Stateful fake-data generator producing referentially consistent e-commerce datasets
- •Supports scenario presets (black-friday, post-holiday-returns, supply-chain-crisis) and deterministic seeds
- •Includes serve, lint, and fuzz subcommands plus MSW/tRPC/GraphQL/React Query adapters
Generated with AI, which can make mistakes.
Is this a good recommendation for you?



