0.1.8 • Published 9 years ago

koa-static2 v0.1.8

Weekly downloads
383
License
MIT
Repository
github
Last release
9 years ago

Koa-static2

NPM version Build Status Downloads

Middleware for Koa2 to serve a folder under a name declared by user

Install

npm install koa-static2

Usage

import Koa from "koa";
import serve from "koa-static2";

const app = new Koa();

app.use(serve("static", __dirname + "/assets"));

License

MIT

0.1.8

9 years ago

0.1.7

9 years ago

0.1.6

9 years ago

0.1.5

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago