dyson
such-cli
dyson | such-cli | |
---|---|---|
1 | 1 | |
833 | 3 | |
- | - | |
0.0 | 0.0 | |
about 1 year ago | about 1 year ago | |
JavaScript | JavaScript | |
- | 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.
dyson
-
Mocks Server 2.0. Introducing route variants and middlewares. Now easier and much powerful!
I've been using dyson in my current project, also an express based mock server: https://github.com/webpro/dyson
such-cli
-
Run a local mock server in your project
Finally, the mock server worked fin, we just add more mock data template files for more APIs. Maybe you have a restful request, you just need create nested directories like the pathname segments and create files with the method name, such as get.json, post.json, put.json, more details can be seen in the github such-cli.
What are some alternatives?
Sinon.JS - Test spies, stubs and mocks for JavaScript.
fast-xml-parser - Validate XML, Parse XML and Build XML rapidly without C/C++ based libraries and no callback.
msw - Seamless REST/GraphQL API mocking library for browser and Node.js.
restapify - Quickly and easily deploy a mocked REST API by using an intuitive and developer friendly JSON file structure
Nock - HTTP server mocking and expectations library for Node.js
smoke - :dash: Simple yet powerful file-based mock server with recording abilities
jest-how-do-i-mock-x - Runnable examples for common testing situations that often prove challenging
openapi-enricher - Enrich an OpenAPI spec with response examples to mock it efficiently
HWMonitorServer - Flask Web Server that monitors Raspberry Pi Stats (CPU, RAM, Storage, Network, etc)