Skip to content

typed-typings/npm-serve-static

Repository files navigation

Typescript Typings for serve-static

Greenkeeper badge Build Status

Installation

typings install --save serve-static

or

npm install types/npm-express#<commit hash>

Usage

import express = require('express');
import serveStatic = require('serve-static');
 
const app = express();
 
app.use(serveStatic('public/ftp', {index['default.html', 'default.htm']}));
app.listen(3000);

Based on the typings by Uros Smolnik on DefinitelyTyped

About

Typings for serve-static

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors