NitroSQLite

Supported platforms

React Native and NitroUI packages, version requirements, and OS coverage.

Nitro SQLite is a Nitro library for React Native and NitroUI. Choose the package for your app. Both packages use the same SQLite engine and TypeScript API.

RuntimePackageInstallationUsage
React Nativereact-native-nitro-sqliteInstall on React NativeRun a first query
NitroUInitro-sqliteInstall on NitroUIRun a first query

Operating systems

OSReact NativeNitroUI
iOSSupported. The SQLite package requires iOS 16 or newer.Supported. The SQLite package requires iOS 16 or newer.
AndroidSupported. Use the Android minimum required by React Native and your app.Supported. Use the Android minimum required by NitroUI and your app.
macOSUse Nitro SQLite 10.x with Nitro Modules 0.37.2. macOS compatibilityNo documented build or example.
visionOSUse Nitro SQLite 10.x with Nitro Modules 0.37.2.No documented build or example.

The library includes no native adapter for Windows or the web in this release. The Node test mock uses better-sqlite3 for tests.

Runtime requirements

React Native requires version 0.88 or newer with the New Architecture. Its SQLite adapter uses Nitro Modules, Nitro Core, and Nitrogen 1.0.0-alpha.nightly.138.g43e09c161101.

The NitroUI example uses SDK 0.2.0. Its adapter uses Nitro Core and Nitrogen 1.0.0-alpha.nightly.137.gd4793c40b8b8. Each package ships the bindings for its own runtime.

Shared API and platform-specific configuration

Both adapters expose open(), managed connections, sync and async queries, batches, transactions, prepared statements, and errors. The TypeORM driver now has a separate companion package; its SQLite-root export remains available with a deprecation notice. See the shared API reference and SQLite concepts.

Optional integrations

IntegrationReact NativeNitroUI
Drizzle ORMreact-native-nitro-sqlite-drizzlenitro-sqlite-drizzle
Vector searchreact-native-nitro-sqlite-vecnitro-sqlite-vec
TypeORMreact-native-nitro-sqlite-typeormnitro-sqlite-typeorm
MikroORMreact-native-nitro-sqlite-mikro-ormnitro-sqlite-mikro-orm
Kyselyreact-native-nitro-sqlite-kyselynitro-sqlite-kysely

Each companion works with the SQLite adapter for the same runtime. React Native uses native build settings to enable vector search. NitroUI apps install the Vec companion and register the extension before opening a database.

The companions install from the alpha npm tag with the 11.0.0 alpha adapters. The ORM setup guide lists the install commands for each host.

On this page