SDK reference for using PowerSync in Node.js clients.
@powersync/better-sqlite3
as a peer dependency:
@powersync/better-sqlite
package requires native compilation, which depends on certain system tools. This compilation process is handled by node-gyp
and may fail if required dependencies are missing or misconfigured.
Refer to the PowerSync Node package README for more details.
Next, make sure that you have:
connect
to start the synchronization process: