Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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

```