Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nashaofu/estatic
A express static file server for CLI
https://github.com/nashaofu/estatic
cli express file server static
Last synced: 27 days ago
JSON representation
A express static file server for CLI
- Host: GitHub
- URL: https://github.com/nashaofu/estatic
- Owner: nashaofu
- License: mit
- Created: 2019-08-05T08:22:34.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-06-09T01:52:36.000Z (over 2 years ago)
- Last Synced: 2024-09-06T23:36:55.299Z (2 months ago)
- Topics: cli, express, file, server, static
- Language: TypeScript
- Homepage:
- Size: 339 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# estatic
A express static file server for CLI
## usage
```bash
estatic [dir]Positionals:
dir Static folder directory [string] [default: "."]Options:
-h, --help Show help [boolean]
-v, --version Show version number [boolean]
-p, --port Server port number [number] [default: 8080]
-b, --base Basic routing address [string] [default: "/"]
-o, --open Open browser automatically [boolean] [default: false]
-s, --silent Suppress log messages from output [boolean] [default: false]
-c, --cors Enable CORS via the "Access-Control-Allow-Origin" header [string]
--username Username for basic authentication [string]
--password Password for basic authentication [string]
```