0.0.0 • Published 12 years ago

dserv v0.0.0

Weekly downloads
5
License
-
Repository
github
Last release
12 years ago

dserv

Node.js mini http server for frontend development. Compiles Jade templates and Stylus CSS on the fly. Serves static files (e.g. images, video) as-is.

It's a quick & dirty hack... could use several improvements :)

INSTALLATION

npm install dserv -g

USAGE

dserv [PORT]
  • Serves files under the current directory, on port 8000 by default.
  • Request foo.html -> render foo.jade
  • Request bar.css -> compile bar.styl as needed

TODO

  • LESS
  • SASS/SCSS
  • CoffeeScript
  • ...
  • subdir indexes (eg. request foo/ -> render foo/index.jade)
  • if no index.* file, list files w/ connect.directory
  • connect.favicon
  • trim dependencies? is Express overkill? Connect??
  • Windows support?

Similar tools

quickserve - static only tserv - static only paperserve - static only?

LICENSE

MIT

0.0.0

12 years ago