Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A really (overly) simple verb respecting http router
CoffeeScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md
routerClass.coffee

README.md

Coffeescript Request Router

Just a simple POC for routing node.js requests based on pathname.

Written mostly for fun and as example

Very simplistic:

  • Only allows adding one callback per route at a time.
  • No paramter matching in the pathname.
  • Only supports a few HTTP methods (trivial to add more)
  • Support only 1 error handler and 1 not-found handler
  • Has no tests

If none of the above are problems then you are in luck!

PRs and suggestions are welcome

Something went wrong with that request. Please try again.