uba-server-static
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