Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tuoz/ya-mock-server

Yet another mock server
https://github.com/tuoz/ya-mock-server

koa mock nodejs

Last synced: 17 days ago
JSON representation

Yet another mock server

Awesome Lists containing this project

README

        

Usage: see example directory.

```js
const path = require('path')
const { MockServer } = require('ya-mock-server');

const mockServer = new MockServer('http://127.0.0.1:3000', path.join(__dirname, 'data', '*.mock.js'))
mockServer.start()
```