{"library":"react-native-local-mongodb","type":"library","category":null,"description":"A lightweight embedded persistent or in-memory database for React Native, providing a subset of MongoDB's API (NeDB-compatible). Current stable version is 4.0.0. It uses AsyncStorage for persistence on React Native. Key differentiators: no native dependencies, TypeScript types included, supports indexing, serialization hooks, and timestamp data. Compared to alternatives like WatermelonDB or Realm, it is simpler and ideal for small offline-first apps. The library switched from promise-based methods to callback-style in v2.0.0, adding Async methods.","language":"javascript","status":"active","version":"4.0.0","tags":["javascript","database","datastore","embedded","react-native","mongodb","typescript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install react-native-local-mongodb","imports":["import { Datastore } from 'react-native-local-mongodb';","const { Datastore } = require('react-native-local-mongodb');","import type { Datastore } from 'react-native-local-mongodb';"]},{"cmd":"yarn add react-native-local-mongodb","imports":[]},{"cmd":"pnpm add react-native-local-mongodb","imports":[]}],"homepage":"https://github.com/antoniopresto/react-native-local-mongodb","github":"ssh://git@github.com/antoniopresto/react-native-local-mongodb","docs":null,"changelog":null,"pypi":null,"npm":"react-native-local-mongodb","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}