@celeri/static
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

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);

Package Sidebar

Install

npm i @celeri/static

Weekly Downloads

5

Version

1.0.3

License

ISC

Unpacked Size

9.83 kB

Total Files

8

Last publish

Collaborators

  • celeri