sql.js

sql.js is a port of SQLite to JavaScript, by compiling the SQLite C code with Emscripten.