Store and query data locally on an iOS or Android device in a React Native app without writing SQL.
Build an offline-first mobile app where data persists on device using the community fork.
Prototype a Node.js app that needs a fast embedded database for structured object storage.
| realm/realm-js | serialport/node-serialport | huachao/vscode-restclient | |
|---|---|---|---|
| Stars | 5,994 | 5,990 | 5,999 |
| Language | TypeScript | TypeScript | TypeScript |
| Setup difficulty | moderate | moderate | easy |
| Complexity | 3/5 | 3/5 | 2/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
The sync-enabled version is deprecated, install from the community npm tag or community git branch for new projects.
Realm is a mobile database that runs directly inside a device, designed as an alternative to SQLite for storing and querying data in JavaScript and TypeScript applications. This repository contains the JavaScript and TypeScript implementation, covering React Native on iOS and Android, Node.js, and Electron on Windows, macOS, and Linux. An important notice leads the README: MongoDB announced the deprecation of Atlas Device Sync and the Realm SDKs in September 2024. This means the sync-enabled version of the library is being wound down. For projects that only need local database functionality without cloud sync, a community-maintained fork is available on npm under the "community" tag, and there is a corresponding git branch in this repository. Before the deprecation announcement, Realm's main selling points were speed, simplicity, and optional sync with MongoDB Atlas. Data was stored as native objects you could query directly in code, without writing SQL or mapping between database rows and application objects. The sync feature, called Atlas Device Sync, kept data consistent across multiple devices and a cloud backend in real time. The Atlas Device SDKs included language-specific packages for Android, iOS, Swift, Kotlin, Flutter, and JavaScript. This repository covers the JavaScript layer. Setup required either Node.js or a React Native environment, and the library exposed its API through TypeScript definitions. Given the deprecation, this library is not recommended for new projects that depend on sync. If you need a local-only mobile database for JavaScript or React Native, the community branch is the current path forward. Documentation for the SDK still lives at mongodb.com/docs/atlas/device-sdks.
Realm is a mobile-first local database for JavaScript and React Native apps, now deprecated by MongoDB, a community fork without sync features is still available.
Mainly TypeScript. The stack also includes TypeScript, JavaScript, React Native.
Apache 2.0 license -- use freely in commercial and open-source projects with minimal restrictions.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.