Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alveflo/serve
Expressjs backed command line static file server
https://github.com/alveflo/serve
Last synced: 14 days ago
JSON representation
Expressjs backed command line static file server
- Host: GitHub
- URL: https://github.com/alveflo/serve
- Owner: alveflo
- License: mit
- Created: 2015-11-06T19:12:54.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-09T18:37:55.000Z (about 9 years ago)
- Last Synced: 2023-08-04T01:03:42.841Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# serve
Simple static file server
### Installation
```
git clone https://github.com/victorzki/serve.git
npm install -g
```### Usage
Serves jade files from current directory
```
serve --jade
```Following serves content from public/ folder
```
serve -p public/
``````
Usage: serve [options]Options:
-h, --help output usage information
-V, --version output the version number
-p, --path [path] Specify path to serve files from. (Leave empty for current directory)
-j, --jade If to use jade rendering
--port [port] Specify port```