Rot.js (GitHub: ondras/rot.js, License: BSD, bower: rot.js)
Rot.js is a Roguelike Toolkit in JavaScript. In a nutshell it is a set of JavaScript libraries, designed to help with a roguelike development in browser environment. It is modeled after libtcod and offers the following features:
- JS prototype enhancements
- RNG, Map generation, FOV, Lighting
- Pathfinding, turn scheduling
- Canvas-based ASCII display
It comes with some very extensive documentation and has a tutorial.