github.com/realm/realm-js

Realm is a mobile database: an alternative to SQLite & key-value stores

Open this visualization on its own page →

Contributors

99

Lines of Code

14,977

From

2015-06-05

To

2021-02-11

About realm/realm-js

Realm is a mobile database designed to run directly on phones, tablets, and wearables, serving as an alternative to SQLite and key-value stores. The JavaScript and TypeScript implementation supports React Native on both iOS and Android, Node.js, and Electron across Windows, macOS, and Linux. Data is exposed as queryable objects, eliminating the need for traditional ORMs while offering features like relationships, generics, and vector support.

The project is part of MongoDB's Atlas Device SDKs ecosystem, which provides a suite of tools optimized for mobile and edge device development. Historically, Realm featured Atlas Device Sync for real-time data synchronization across users, devices, and cloud backends, though this sync functionality was deprecated in September 2024. A community version without sync capabilities is available as an alternative.

The SDK includes several developer-friendly features such as TypeScript support with babel plugin transformation for schema definition, React hooks integration through the @realm/react package, and template applications for quick setup with Expo or standard React Native projects. The codebase is published under the Apache License 2.0, and the project maintains detailed documentation, compatibility matrices for different runtime versions, and active community support through Stack Overflow and MongoDB's developer forums.

Share this video