Skip to content

powersync-ja/powersync-sql-js

Repository files navigation

PowerSync SQL.js

A fork of SQL.js (SQLite compiled to JavaScript via Emscripten) that loads the PowerSync's Rust core extension. This allows PowerSync functionality in environments where native dependencies cannot be used.

  • No native dependencies required
  • Optimized for rapid prototyping and development workflows
  • Universal compatibility

Note: This implementation is intended for development only. For production use, consider native adapters that offer better performance and data integrity guarantees.

Why a fork?

Beyond loading the core extension, minor additions were needed on top of the SQL.js to be compatible with the PowerSync SDKs (for example functionality to expose lastInsertId and enabling FTS5). These are applied in the form of git patches.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages