camouflage
data
camouflage | data | |
---|---|---|
10 | 5 | |
253 | 746 | |
1.2% | 3.2% | |
5.6 | 6.5 | |
3 months ago | 5 months ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
camouflage
- Camouflage: Open source mocking tool for http, grpc and websockets endpoints
-
I created an easy to use tool that supports mocking for http, grpc and websockets based backends.
Would love feedbacks, suggestions and questions if any. Check out Source Code and Documentation
-
File Based API Mocking in JavaScript
It's been a while, since I wrote about Camouflage. There have been some exciting developments in past few months and I would like to present the new features Camouflage has to offer to support your prototyping/testing needs.
- Camouflage: An mocking tool for HTTP, gRPC and Websockets based backends
-
Camouflage: An open source mocking tool for HTTP gRPC and Websockets based backends.
Documentation
-
Mocking backends with Camouflage
On more details on how to use Camouflage, visit the documentation. If you'd like to contribute, you can do so by reporting bugs, providing suggestions on what more protocols can be implemented and use cases to cover and finally by creating pull requests for the changes you'd like to see.
-
Camouflage: A mocking tool for HTTP/HTTPs downstream build in NodeJS
Source Code
-
How To Mock APIs In Seconds
Full Documentation: Camouflage Documentation Source Code: Source Code
data
- What direction can I take to mocking a data structure that is relational on the front-end while I wait for backend endpoints to be created?
- What direction can I take to mock a (relational?) data-structure on the front-end while I wait for backend endpoints to be created?
-
Mock Service Worker is awesome
It supports both REST and GraphQL APIs, it can delay the response of mocked API endpoints so the endpoint feels more real-life, it has it's own in-memory database with @msw/data package for more complex querying (e.g, searching, sorting), it can also run mocks in NodeJS environment instead of Service Worker (really useful for testing). Next, let's take a look at which problems msw can solve and how.
-
Why I migrated to msw from json-server?
Next steps mswjs/data
-
Announcing "@mswjs/data"—data modeling library for testing JavaScript applications
Today we are proud to announce the Data library—a standalone package to model and query data in your tests and beyond. Although the project is at the early stage of development and doesn't solve every problem right away, letting you try it out and gather your feedback is crucial for us to refine and shape the future experience.
What are some alternatives?
mockserver - Mock your backends in a matter of seconds. HTTP is King.
msw - Seamless REST/GraphQL API mocking library for browser and Node.js.
mock-inspect - Mocks network requests and allows you to make assertions about how these requests happened. Supports auto-mocking of graphQL requests given a valid schema.
ng-mocks - Angular testing library for mocking components, directives, pipes, services and facilitating TestBed setup
json-server - Get a full fake REST API with zero coding in less than 30 seconds (seriously)
mountebank - Over the wire test doubles
strong-mock - Type safe mocking library for TypeScript
hanbi - A small javascript library for stubbing and spying on methods/functions.
Faker.js - What really happened with Aaron Swartz?
mockoon - Mockoon is the easiest and quickest way to run mock APIs locally. No remote deployment, no account required, open source.
ts-mockito - Mocking library for TypeScript