dserv

0.0.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i dserv

Weekly Downloads

1

Version

0.0.0

License

none

Last publish

Collaborators

  • tnovelli