Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more! Learn more →
Top 23 TypeScript Mock Projects
-
In this post, we'll dive into implementing Optimistic UI in a Remix.run application, combined with Mock Service Worker(MSW) for robust API mocking and intercepting API requests into our application. Essential for development and testing. It allows us to intercept network requests and define mock responses right in the browser, simulating API behavior without needing a real backend running. This is invaluable for rapid development and testing edge cases like API failures.
-
Sevalla
Deploy and host your apps and databases, now with $50 credit! Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
-
mockoon
Mockoon is the easiest and quickest way to run mock APIs locally. No remote deployment, no account required, open source.
-
graphql-tools
:wrench: Utility library for GraphQL to build, stitch and mock GraphQL schemas in the SDL-first approach
-
orval
orval is able to generate client with appropriate type-signatures (TypeScript) from any valid OpenAPI v3 or Swagger v2 specification, either in yaml or json formats. 🍺
Project mention: Streamlining Umbraco Headless Development: Automated Model Generation for Content Delivery API with Orval | dev.to | 2025-04-10While reviewing the DeliveryAPI Extensions documentation, I noticed a reference to Orval, a tool I hadn't encountered before. After installing and experimenting with it, I was impressed by how quickly it generated usable models right out of the box.
-
-
mongodb-memory-server
Manage & spin up mongodb server binaries with zero(or slight) configuration for tests.
-
-
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
-
-
-
ng-mocks
Angular testing library for mocking components, directives, pipes, services and facilitating TestBed setup
providing the mocks might require a lot of cumbersome code in some cases. It makes sense to use extra tools to simplify it. For instance, ng-mocks for Angular
-
aws-sdk-client-mock
AWS JavaScript SDK v3 mocks for easy unit testing. 🖋️ Typed 🔬 Tested 📄 Documented 🛠️ Maintained
-
jest-mock-extended
Type safe mocking extensions for Jest https://www.npmjs.com/package/jest-mock-extended
How large is your project?
Without process isolation we got 6x speedup vs. jest! But it is difficult to ensure a clean slate between our test suites (~40 suites)
We are also using some helpers to mock, e.g https://github.com/marchaos/jest-mock-extended - its such helper libraries im concerned about.
-
-
-
-
-
-
suites
Unit testing framework for dependency injection that automates mocking and simplifies test setup, reducing boilerplate code and enabling developers to build comprehensive and reliable test suites with a standardized, type-safe API
-
-
shallow-render
Angular testing made easy with shallow rendering and easy mocking. https://getsaf.github.io/shallow-render
-
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
TypeScript Mock discussion
TypeScript Mock related posts
-
Ask HN: Who wants to be hired? (July 2025)
-
Implementing Optimistic UI with Remix
-
Mockoon is the easiest and quickest way to run mock APIs locally
-
Request-Mocking-Protocol: A New Approach to Mocking Server-Side Requests in E2E Testing
-
Leveraging Mock Service Workers for NestJS e2e tests
-
How I Started Writing Unit Tests for Vue Components
-
Speed Up Your Frontend Development 10x with These Mock Tools 🚀
-
A note from our sponsor - Sevalla
sevalla.com | 1 Sep 2025
Index
What are some of the best open-source Mock projects in TypeScript? This list will help you:
# | Project | Stars |
---|---|---|
1 | msw | 17,056 |
2 | mockoon | 7,637 |
3 | graphql-tools | 5,410 |
4 | orval | 4,451 |
5 | falso | 3,313 |
6 | mongodb-memory-server | 2,743 |
7 | graphql-faker | 2,708 |
8 | Mocky | 2,086 |
9 | smocker | 1,260 |
10 | ng-mocks | 1,136 |
11 | aws-sdk-client-mock | 887 |
12 | jest-mock-extended | 885 |
13 | mockttp | 825 |
14 | openapi-backend | 661 |
15 | shoehorn | 485 |
16 | msw-storybook-addon | 467 |
17 | FakeRest | 451 |
18 | suites | 432 |
19 | observer-spy | 377 |
20 | shallow-render | 272 |
21 | jest-dynalite | 153 |
22 | laika | 123 |
23 | strong-mock | 106 |