@celeri/static
v1.0.3
Published
A static file server for celeri
Downloads
1
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);