README
Install
$ npm install --save @celeri/static
Import
ES6 Modules
import { fileServer } from '@celeri/static';
CommonJS Modules
const { fileServer } = require('@celeri/static');
Usage
const staticServer = fileServer(__dirname + '/public');
serverOrEndpoint.use(staticServer);