This package has been deprecated
Author message:
This package has moved to: @toisu/static
toisu-static
3.0.0 • Public • Published toisu-static
A tiny wrapper around serve-static for Toisu!
This module accepts the same arguments as
serve-static.
Example
const http = require('http');
const Toisu = require('toisu');
const serveStatic = require('toisu-static');
const app = new Toisu();
app.use(serveStatic('public'));
http.createServer(app.requestHandler).listen(3000);
Versions
Current Tags
- VersionDownloads (Last 7 Days)
Version History
- VersionDownloads (Last 7 Days)
Package Sidebar
Install
Weekly Downloads