superstatic
Version:
A static file server for fancy apps
17 lines (16 loc) • 525 B
TypeScript
export = superstatic;
/**
* Superstatic returns a router that can be used in a server.
* @param {MiddlewareOptions} spec superstatic options.
* @return {HandleFunction} router handler.
*/
declare function superstatic(spec?: MiddlewareOptions): HandleFunction;
declare namespace superstatic {
namespace stacks {
let _default: string[];
export { _default as default };
export let strict: string[];
}
}
import { MiddlewareOptions } from "./options";
import { HandleFunction } from "connect";