Intermock
Mocking library to create mock objects with fake data for TypeScript
...It simplifies frontend and API testing by creating realistic, schema-compliant mock data directly from interface definitions, eliminating the need for manual mock creation. Intermock supports a wide range of TypeScript constructs including interfaces, unions, generics, mapped types, and tuples, ensuring comprehensive type coverage. It can be used both via a command-line interface (CLI) and programmatically through its API, making it suitable for integration into build pipelines or development environments. The tool also allows fine-grained control over output format—object, JSON, or string—and supports JSDoc annotations to define custom Faker data generators. ...