The library is based on all of my work in making games. It has gone through many iterations, starting with my Galaxian style game, improved with my endless runner style game, and finally fleshed out into this library.
The entire library is less than 10KB minified and doesn’t depend on a 3rd party library. Check out the Github page for more details and examples on how to use it.
I hope you find it useful for your games and let me know how it can be improved.