A simple local mock server with cli tool
You can use it with Node.js API or CLI tool.
$ npm i --save-dev local-mock-server
serve mock files in 'mockdir' directory
mock -d mockdir
const mock = require('local-mock-serever')
mock('mockdir') // '/mock' directory by default