{"id":2672,"date":"2019-08-29T19:55:25","date_gmt":"2019-08-29T19:55:25","guid":{"rendered":"https:\/\/azoora.com\/blog\/?p=2672"},"modified":"2019-08-09T12:09:56","modified_gmt":"2019-08-09T12:09:56","slug":"sql-js-sqlite-compiled-to-javascript","status":"publish","type":"post","link":"https:\/\/azoora.com\/blog\/code\/sql-js-sqlite-compiled-to-javascript\/","title":{"rendered":"sql.js: SQLite Compiled to JavaScript"},"content":{"rendered":"\n<p><strong>sql.js<\/strong>\u00a0is a port of\u00a0<strong>SQLite<\/strong>\u00a0to Web-assembly, by compiling the SQLite C code with Emscripten. It uses a virtual database file stored in memory, and thus doesn&#8217;t persist the changes made to the database.\u00a0<\/p>\n\n\n\n<p>sql.js allows you to import any existing sq-lite file, and to export the created database as a JavaScript typed array.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote\"><p><strong>Demo<\/strong>: <a href=\"http:\/\/kripken.github.io\/sql.js\/examples\/GUI\/\">http:\/\/kripken.github.io\/sql.js\/examples\/GUI\/<\/a><\/p><p><strong>Download<\/strong>: <a href=\"https:\/\/github.com\/kripken\/sql.js\">https:\/\/github.com\/kripken\/sql.js<\/a><\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>sql.js\u00a0is a port of\u00a0SQLite\u00a0to Web-assembly, by compiling the SQLite C code with Emscripten. It uses a virtual database file stored in memory, and thus doesn&#8217;t persist the changes made to the database.\u00a0 sql.js allows you to import any existing sq-lite file, and to export the created database as a JavaScript typed array. Demo: http:\/\/kripken.github.io\/sql.js\/examples\/GUI\/ Download: [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":2673,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[4,12],"tags":[25,87],"jetpack_featured_media_url":"https:\/\/azoora.com\/blog\/wp-content\/uploads\/2019\/08\/SQL.js.jpg","jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/p7FQPL-H6","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/posts\/2672"}],"collection":[{"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/comments?post=2672"}],"version-history":[{"count":1,"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/posts\/2672\/revisions"}],"predecessor-version":[{"id":2674,"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/posts\/2672\/revisions\/2674"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/media\/2673"}],"wp:attachment":[{"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/media?parent=2672"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/categories?post=2672"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/azoora.com\/blog\/wp-json\/wp\/v2\/tags?post=2672"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}