sql.js
sql.js
SQLite compiled to javascript
sql.js
is a port of SQLite
to Webassembly
, by compiling the SQLite C code with Emscripten.
There are no C bindings or node-gyp compilation here, sql.js is a simple javascript file, that can be used like any traditional javascript library!
Get it: npm install sql.js
Sample usage:
1 2 3 4 5 6 7 8 9 10 11 12 13 |
|
Would output something like:
name | hired_on | |
---|---|---|
HOOVER | 1990-04-02| | |
JOHNSON | 1990-12-17| | |
TAFT | 1996-01-02| | |
HARDING | 1998-02-02| |
GIT FTW!