startserver

NPM version build status Test coverage node version npm download

Yet another http server.

Installation

Node requirement

>= 0.10.x

Install from npm

$ npm i startserver -g

Use it for generator support, add this alias to your .bash_profile:

alias node='node --harmony'

Or you'd better use io.js as an alternative.

Quick Start

$ startserver

It also can be use it like this:

$ startserver 6789

There are more shorter alias for it:

$ ss

Features

Server Everywhere

Run it at every directory under the root.

Slider Revolution

Generate slider with README.md file or other markdown file.

Others

Commands

plugins

show plugin list

generate

$ startsever generate README.md

generate static slide file to markdown [sample]

Plugins

logo

plugins list

Options

-s, --silent

start http server without opening browser

-m, --markdown

auto parse and render markdown file

-f, --pdf

render markdown file with pdf style

-p, --port

port to use (8080 default)

-d, --disable

disable default index router

-v, --version

output version infomation

Help

$ startserver -h

License

The MIT License (MIT)

Copyright (c) 2013 xdf