npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@maydon_tech/react-native-nitro-maps

v0.1.4

Published

A high-performance React Native map library powered by Nitro Modules with support for Apple Maps, Google Maps, and Yandex Maps. Features native clustering, custom markers, and seamless cross-platform integration.

Readme


Why This Library?

Most React Native map libraries were built on the old Bridge. We built ours on C++ JSI — native calls with zero serialization.

| | react-native-maps | @rnmapbox | nitro-maps | |----------------------|-------------------|-----------|-----------------------------| | Architecture | Old Bridge | JS-heavy | C++ JSI (Nitro Modules) | | Clustering | JS thread (slow) | JS thread | C++ Supercluster engine | | Marker rendering | React views | Mixed | Native bitmaps | | Vendors | Google, Apple | Mapbox | Google, Apple, Yandex | | 30K markers | ❌ Freezes | ⚠️ Slow | ✅ < 40ms |

Highlights

  • 🚀 C++ JSI — Nitro Modules bridge, zero serialization overhead
  • 🗺️ Multi-vendor — Google Maps · Apple MapKit · Yandex MapKit, one unified API
  • 📍 C++ clustering — Supercluster + KDBush handles 30,000+ markers
  • 💰 Native markers — Price pills, images rendered as bitmaps — no React views
  • Live clustering — Real-time cluster updates during pan/zoom gestures
  • 🌙 Dark mode — Built-in dark theme support across all vendors
  • 📱 New Architecture — Fabric-ready, TurboModules compatible

Quick Start

npm install @maydon_tech/react-native-nitro-maps react-native-nitro-modules
cd ios && pod install
import {
  NitroMap,
  NitroMapInitialize,
  PriceMarker,
} from '@maydon_tech/react-native-nitro-maps';

// Initialize once at app startup
NitroMapInitialize('YOUR_API_KEY', 'google');

export default function App() {
  return (
    <NitroMap
      provider="google"
      initialRegion={{
        latitude: 41.2995,
        longitude: 69.2401,
        latitudeDelta: 0.05,
        longitudeDelta: 0.05,
      }}
      clusterConfig={{
        enabled: true,
        strategy: 'supercluster',
        radius: 80,
      }}
    >
      <PriceMarker
        coordinate={{ latitude: 41.2995, longitude: 69.2401 }}
        price="150K"
        currency="UZS"
      />
    </NitroMap>
  );
}

Providers

| Provider | iOS | Android | API Key | Notes | |-----------------|-----|---------|----------|------------------------| | Google Maps | ✅ | 🔜 | Required | Best global coverage | | Apple Maps | 🔜 | — | Free | iOS only, zero SDK | | Yandex Maps | 🔜 | 🔜 | Required | Best for CIS countries |

✅ Implemented · 🔜 Planned · — Not applicable

Clustering

Two strategies, powered by a shared C++ engine:

supercluster — Groups nearby markers. Overlaps acceptable. Best for general-purpose maps.

hideOnOverlap — Same grouping, but hides lower-priority overlapping items. Every visible marker sits at its real geographic position. Best for real estate, hospitality — what Zillow and Airbnb use.

<NitroMap
  clusterConfig={{
    enabled: true,
    strategy: 'hideOnOverlap',
    radius: 80,
    realtimeClustering: true,   // live updates during gestures
    renderBuffer: 0.5,           // pre-compute 50% beyond viewport
    throttleInterval: 200,       // balance perf vs smoothness
  }}
>

| Markers | Clustering Time | |---------|-----------------| | 100 | < 1ms | | 1,000 | ~ 2ms | | 10,000 | ~ 15ms | | 30,000 | ~ 40ms |

Measured on iPhone 12, including spatial index build + cluster query.

Documentation

| Guide | Description | |---|---| | Setup & Installation | Per-vendor setup for iOS and Android | | API Reference | Components, props, methods, types, events | | Clustering | Strategies, live clustering, render buffer, performance | | Feature Support | What's available on each provider | | Examples | Selection, dragging, clustering, overlays | | Migration | Breaking changes between versions |

Architecture

  React Native (JS)
        │
        ▼
  ┌─────────────┐
  │  NitroMap    │  ← React component
  │  PriceMarker │  ← Declarative children
  │  ImageMarker │
  └──────┬──────┘
         │ C++ JSI (zero-copy)
         ▼
  ┌──────────────────┐
  │  Nitro Modules   │  ← C++ bridge layer
  │  HybridObject    │
  └──────┬───────────┘
         │
    ┌────┴─────┬──────────────┐
    ▼          ▼              ▼
  Google    Apple          Yandex
  Provider  Provider       Provider
  (Swift)   (Swift)        (Swift)
    │          │              │
    ▼          ▼              ▼
  GMSMapView MKMapView    YMKMapView

Contributing

See CONTRIBUTING.md for development setup.

License

MIT · Made by Maydon Tech