express-file-api

1.1.1 • Public • Published

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.

Package Sidebar

Install

npm i express-file-api

Weekly Downloads

7

Version

1.1.1

License

ISC

Unpacked Size

225 kB

Total Files

50

Last publish

Collaborators

  • shavyg2