# react-native-mosquito-transport

> React native javascript sdk for mosquito-transport (https://github.com/brainbehindx/mosquito-transport)

Latest version **0.0.58** (published 2026-06-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-native-mosquito-transport
pnpm add react-native-mosquito-transport
yarn add react-native-mosquito-transport
bun add react-native-mosquito-transport
```

## Health

**Score 45/100 (D)** — status: active.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.0.58 |
| Published | 2026-06-14 |
| First published | 2024-03-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Anthony Onabanjo |
| Maintainers | deflexable |
| Keywords | mosquito-transport, javascript, selfhosted, serverless, database, react-native, mongodb |

## Links

- npm: https://www.npmjs.com/package/react-native-mosquito-transport
- Repository: https://github.com/brainbehindx/react-native-mosquito-transport
- Homepage: https://github.com/brainbehindx/react-native-mosquito-transport#readme
- Issues: https://github.com/brainbehindx/react-native-mosquito-transport/issues
- npm.io page: https://npm.io/package/react-native-mosquito-transport

## Alternatives

- [angular-pipes](https://npm.io/package/angular-pipes.md) — 5.6K weekly downloads
- [@ng-web-apis/midi](https://npm.io/package/@ng-web-apis/midi.md) — 2.6K weekly downloads
- [happn-3](https://npm.io/package/happn-3.md) — 1.6K weekly downloads
- [@opensip-cli/lang-go](https://npm.io/package/@opensip-cli/lang-go.md) — 1.2K weekly downloads
- [mongoose-typescript](https://npm.io/package/mongoose-typescript.md) — 85 weekly downloads

## Recent versions

- 0.0.58 (latest) — 2026-06-14
- 0.0.57 — 2026-04-01
- 0.0.56 — 2026-03-31
- 0.0.55 — 2026-03-30
- 0.0.54 — 2026-03-30
- 0.0.53 — 2026-03-29
- 0.0.52 — 2026-03-28
- 0.0.51 — 2026-03-06
- 0.0.50 — 2026-03-05
- 0.0.49 — 2026-03-05
- 0.0.48 — 2025-12-19
- 0.0.47 — 2025-11-04
- 0.0.46 — 2025-09-18
- 0.0.45 — 2025-09-08
- 0.0.44 — 2025-08-28
- … 29 more at https://npm.io/package/react-native-mosquito-transport/versions

## README

# react-native-mosquito-transport

React native javascript sdk for [mosquito-transport](https://github.com/brainbehindx/mosquito-transport).

## Installation

```sh
npm install react-native-mosquito-transport --save
```

or using yarn

```sh
yarn add react-native-mosquito-transport
```
internal bson

## Usage

```js
import RNMosquitoTransport from "react-native-mosquito-transport";

// uses sqlite to cache it data by default
RNMosquitoTransport.initializeCache();

const mclient = new RNMosquitoTransport({
  projectUrl: "http://localhost:3444"
});
```

## Additional Documentations

- [RNMosquitoTransport Constructor](#RNMosquitoTransportConstructor)
  - [dbName](#dbName)
  - [dbUrl](#dbUrl)
  - [projectUrl](#projectUrl)
  - [disableCache](#disableCache)
  - [maxRetries](#maxRetries)
  - [enableE2E_Encryption](#enableE2E_Encryption)
  - [serverE2E_PublicKey](#serverE2E_PublicKey)
  - [extraHeaders](#extraHeaders)
  - [castBSON](#castBSON)
- [RNMosquitoTransport Methods](#RNMosquitoTransportMethods)
 - [initialCache](#initialCache)
 - [getDatabase](#getDatabase)
 - [collection](#collection)
 - [auth](#auth)
 - [storage](#storage)
 - [fetchHttp](#fetchHttp)
 - [listenReachableServer](#listenReachableServer)
 - [getSocket](#getSocket)
 - [batchWrite](#batchWrite)
- [TIMESTAMP](#TIMESTAMP)
- [AUTH_PROVIDER_ID](#AUTH_PROVIDER_ID)
- [DOCUMENT_EXTRACTION](#DOCUMENT_EXTRACTION)
- [GEO_JSON](#GEO_JSON)
- [FIND_GEO_JSON](#FIND_GEO_JSON)
- [DoNotEncrypt](#DoNotEncrypt)

## RNMosquitoTransport Constructor

### dbName


### dbUrl


### projectUrl

this is the base url of 

### disableCache

---
_Source: https://npm.io/package/react-native-mosquito-transport · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
