HashbangJS

A simple and flexible hashbang routing framework

I made this because other frameworks were either too limited in syntax (most of them) or performed badly (the rest of them).
HashbangJS takes a different approach by "precompiling" routes in a format that is both flexible and performs well. You pay a one time price in performance at the start to gain useful abilities and higher performance while running.
Contact me on github: https://github.com/vanderlee/HashbangJS

Features

QUnit test

126 unit testcases at last counting.
Whenever a bug is found, testcases are added to ensure it doesn't ever return.
Click here to run test

Simple examples

Open a console window to read the source and watch the results.
  1. Path
  2. Path short
  3. Path sort
  4. Path order
  5. Path all
  6. Path nothing
  7. Path 404