uba-server-static

2.0.1 • Public • Published

uba-server-static

npm version devDependency Status NPM downloads


NPM

Installation

$ npm install uba-server-static -D

Usage

Edit the .ubarc file

{
    "static": [{
        "dir": "src/static"
    },{
        "dir": "public",
        "options":{
            "maxAge":"1d"
        }
    }]
}

API

dir

  • dir directory string. nothing above this root directory can be served

Look at more https://www.npmjs.com/package/serve-static#api

Readme

Keywords

Package Sidebar

Install

npm i uba-server-static

Weekly Downloads

0

Version

2.0.1

License

MIT

Unpacked Size

3.06 kB

Total Files

5

Last publish

Collaborators

  • kvkens