{"repo":"sql-js/sql.js","free":true,"listed":false,"github":"https://github.com/sql-js/sql.js","clone":"git clone https://github.com/sql-js/sql.js.git","description":"A javascript library to run SQLite on the web.","language":"JavaScript","stars":13656,"topics":["sql","javascript","database","emscripten","wasm","sqlite"],"license":null,"category":"databases-storage","readme_excerpt":"SQLite compiled to JavaScript sql.js is a javascript SQL database. It allows you to create a relational database and query it entirely in the browser. You can try it in this online demo. It uses a virtual database file stored in memory, and thus doesn't persist the changes made to the database. However, it allows you to import any existing sqlite file, and to export the created database as a JavaScript typed array. sql.js uses emscripten to compile SQLite to webassembly (or to javascript code for compatibility with older browsers). It includes contributed math and string extension functions. sql.js can be used like any traditional JavaScript library. If you are building a native application in JavaScript (using Electron for instance), or are working in node.js, you will likely prefer to use a native binding of SQLite to JavaScript. A native binding will not only be faster because it will run native code, but it will also be able to work on database files directly instead of having to load the entire database in memory, avoiding out of memory errors and further improving performances. SQLite is public domain, sql.js is MIT licensed. API documentation A full API documentation for all the available classes and methods is available. It is generated from comments inside the source code, and is thus always up to date. Usage By default, sql.js uses wasm, and thus needs to load a .wasm file in addition to the javascript library. You can find this file in ./node modules/sql.js/dist/sq","default_branch":null,"files":null,"tree":[],"storefront":"/r/sql-js","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sql-js/sql.js/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}