SQLite bindings for Node.js
JavaScript C++ HTML Python
Switch branches/tags
Nothing to show
Clone or download
Latest commit 2872278 Sep 11, 2017


SQLite3 bindings for Node.js

Documentation lives at http://grumdrig.com/node-sqlite/ The code lives at http://github.com/grumdrig/node-sqlite/

The two files required to use these bindings are sqlite.js and build/default/sqlite3_bindings.node. Put this directory in your NODE_PATH or copy those two files where you need them.

Tested with Node version v8.4.0 (may not work with older versions)

Synchronous Only

Only synchronous access is supported! For an an ansynchronous and much more full-featured library, see https://github.com/mapbox/node-sqlite3


The C++ code which creates the Statement object uses NewInstance, which is marked deprecated. I don't know what it should be replaced with but that whole bit code is pretty ugly and could probably be improved a lot.