npm

Join us for the upcoming webinar, "Enterprise JavaScript done right: the tools you love, the security you need."Sign up here »

koa-statics

0.0.5 • Public • Published

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);

install

npm i koa-statics

Downloadsweekly downloads

12

version

0.0.5

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability