JSPM

  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q20817F
  • License MIT-0

SQLite Compiled to WASM, asyncified, and then wrapped in a little JavaScript.

Package Exports

  • sql.mjs
  • sql.mjs/dist/index.mjs

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (sql.mjs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

sql.mjs

It's like sql.js except:

  1. Compiled using wasi-sdk instead of emscripten
  2. Transformed via wasm-opt's asyncify pass
  3. Comes with an Origin-Private-File-System VFS (you still have to load it though.)

How to build

In order to build you'll need to have wasm-opt installed. You'll also need to download the wasi-sdk version 20.0 and extract it into the root of this repository. Then run make or make RELEASE=true.