koa-statics
v0.0.5
Published
static file server for koa.js v2.x
Downloads
3
Readme
koa-statics
static file server for koa.js
v2.x, written in typescript
install
npm install koa-statics
usage
const Koa = require("koa");
const statics = require("koa-statics");
const app = new Koa();
app.use(statics("./assets"));
app.listen(3000);