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

expo-map-extension

v1.0.2

Published

My new module

Readme

react-native-mapkit-search

This package is in no way associated with Expo. It's name reflects its utility in EAS (expo modules).

A React Native package that integrates with Apple's MapKit API to provide location search with autofill suggestions. Designed to work seamlessly with react-native-maps, this package enables location-based searches on iOS devices.

Features

  • Search with autofill: Users can enter a query, and the package returns a list of matching places.
  • Select a place: Clicking on a search result passes the selected location back to the React Native app.
  • Coordinates provided: Useful for displaying locations on a map or performing other location-based actions.
  • Seamless integration with react-native-maps: Use this package to fetch locations and display them using react-native-maps.

Installation

npm install expo-map-extension

or

yarn add expo-map-extension

Usage

import { useState } from 'react'
import { View, TextInput, Button, Text } from 'react-native'
import ExpoMapExtension from 'expo-map-extension'

const MyComponent = () => {
  const [searchText, setSearchText] = useState('')
  const [placesData, setPlacesData] = useState([])
  const [selectedItem, setSelectedItem] = useState(null)

  return (
    <View style={{ flex: 1 }}>
      <TextInput
        placeholder="Search here"
        value={searchText}
        onChangeText={setSearchText}
        style={{ borderColor: 'black', borderWidth: 1, borderRadius: 4 }}
      />
        <ExpoMapExtension.ExpoMapExtensionView
          style={{ flex: 1, height: 1000, width: '100%' }}
          searchText={searchText}
          onSubmit={(event) => setPlacesData(event.nativeEvent.placesData)}
          onSelect={(event) => setSelectedItem(event.nativeEvent.selectedItem)}
        />
    </View>
  )
}

export default MyComponent

Props

| Prop | Type | Description | |--------------|---------|-------------| | searchText | String | The search query input from React Native. | | onSubmit | Function | Callback that receives the list of search results. | | onSelect | Function | Callback that receives the selected place's details. |

Example Flow

  1. The user types a query into the search bar.
  2. The sheet view updates with autofilled search results.
  3. The user selects a place from the list.
  4. The selected place data, including coordinates, is passed back to the React Native app.

License

MIT