Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Simple Server allows you to easily get a node.js static file server up and running anywhere anytime.
JavaScript
Branch: master

Merge pull request #4 from voidstardb/master

Fix command line argument processing. 'publicPath' was being set to Nan in all cases.
latest commit e479e81e9d
@balupton authored

README.md

Simple Server

NPM version Gittip donate button Flattr donate button PayPayl donate button

Simple Server allows you to easily get a node.js static file server up and running anywhere anytime.

Install

Node, Browserify

  • Use: require('simple-server')
  • Install: npm install --save simple-server

Ender

  • Use: require('simple-server')
  • Install: ender add simple-server

Using

To get your public folder up and running on http://localhost:3000 simply type the following into terminal:

simple-server public 3000

The first argument is the folder you want to serve, and the second argument is the port to serve from :)

History

Discover the change history by heading on over to the History.md file.

Backers

Maintainers

These amazing people are maintaining this project:

Sponsors

No sponsors yet! Will you be the first?

Gittip donate button Flattr donate button PayPayl donate button

Contributors

These amazing people have contributed code to this project:

Become a contributor!

License

Licensed under the incredibly permissive MIT license

Copyright © 2011+ Benjamin Lupton b@lupton.cc (http://balupton.com)

Something went wrong with that request. Please try again.