Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A simple fast node http server toolkit.
JavaScript
Branch: master

Update to work with the latest node changes.

s/sendBody/write/g and s/finish/close/g
latest commit 48ab644ba1
@isaacs authored

README.md

simple-node-server

A simple fast node http server. More a toolkit than a platform.

Goals

  • easy to do common things.
  • possible to do uncommon things.
  • small enough to rewrite easily

So far

  • File Serving
  • Auto indexing
  • Directory indexing
  • ejs parser
  • a crappy router

Up Next

  • Configurable logging statements (dumping everything now, it's perty noisy)
  • Custom error pages
  • More eventedness/AOP/etc. A way for plugins to alter the behavior of the server, without necessarily being one of the actions in the chain
  • some scripts to wrap up the core server, and do stuff like start, stop, point &2 at a log file, etc.
  • a non-crappy url-to-function router
  • testing
  • Documentation!
Something went wrong with that request. Please try again.