1.1.1 • Published 4 years ago

express-file-api v1.1.1

Weekly downloads
2
License
ISC
Repository
github
Last release
4 years ago

File Express

You must install the version of express to use globally as this package doesn't ship with express

Create an api from the file system

Options

  -d, --dir Directory   The base directory to bootstrap api.
  -x, --ext Extension   The extension for the files to use. This requires the . in the extension name
  -r, --route String    A path to place in front of all routes, eg /api/v1
  -p, --port Number     The port to boot the application on. Default is 3000
  --help string         Print this usage guide.