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

isard-react-native

v0.5.0

Published

isard maps in React Native apps: the map in a WebView, driven from the app's components

Readme

isard-react-native

isard maps in React Native apps: <IsardMapView> holds isard's page in a WebView, driven by its props and its ref. The map runs as it does in a browser (WebGL2, WebAssembly, its workers), on iOS 15 and later and on recent Android.

npm install isard-react-native react-native-webview
import { IsardMapView, type IsardMapViewHandle } from 'isard-react-native';

const map = useRef<IsardMapViewHandle>(null);

<IsardMapView
  ref={map}
  style={{ flex: 1 }}
  options={{ center: [2.35, 48.85], zoom: 13, pitch: 50 }}
  layers={[{ id: 'stops', type: 'circles', data: stops, color: '#e8590c', radius: 8 }]}
  onClick={({ lonLat, feature }) => setPicked(feature)}
/>;

await map.current?.flyTo({ center: [2.2945, 48.8584], zoom: 16 });
  • options: the map's options at its creation, as GeoMap.create takes them (plain data).
  • layers: the map's layers, the last on top, as map.add takes them, with an id; set again when they change.
  • onReady, onClick, onMoveEnd, onError; the ref: setCamera, easeTo, flyTo, getCamera, pickSurface.
  • isardUrl: where the page loads isard from (its npm package on jsDelivr by default, or a copy of yours).

On the web (React Native for Web, a bundler taking the browser field or .web.tsx files), the same view holds the page in an iframe with the same messages.

The app and the page exchange JSON: a layer's options are plain data (no function of a feature's properties). MIT licence.