Charles map local for Koa.js
$ npm i koa-map-local --saveconst mapLocal = require('koa-map-local')
const app = new (require('koa'))
const publicDir = __dirname + '/public'
app.use(publicDir)
app.listen(1337)GET http://proxytest.com/test/resource.json
will send `${ publicDir }/proxytest.com/test/resource.json` file
the MIT License http://magicdawn.mit-license.org