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

@rentlydev/react-native-bridge

v0.4.0

Published

Bridge for native Api's

Readme

npm React Native Android iOS

@rentlydev/react-native-bridge

This React Native package provides a bridge for accessing native APIs, enabling seamless integration between React Native and platform-specific features that aren't directly available in the React Native ecosystem. By leveraging this bridge, developers can invoke native functions from JavaScript, offering a more extensive range of capabilities for their apps.

Fully compatible with TypeScript.

Supported platforms

| Platform | Support | |---|---| | iOS | ✅ | | Android | ✅ | | Web | ❌ | | Windows | ❌ | | macOS | ❌ |

Installation

npm install @rentlydev/react-native-bridge

or

yarn add @rentlydev/react-native-bridge

Configuration and Permissions

No permissions needed

Summary

Methods


Usage

isPackageInstalled(packageName)

To find if the app is installed on the device

Android

If >= Android 11 (API level 30) and below to AndroidManifest.xml

<manifest xmlns:android="http://schemas.android.com/apk/res/android">

  <queries>
    <package android:name="com.example.package" /> // Add the package that you want to query
  </queries>

</manifest>
import { PackageManager } from '@rentlydev/react-native-bridge';
await PackageManager.isPackageInstalled("com.example.package") // true or false

iOS

Add below to Info.plist

<key>LSApplicationQueriesSchemes</key>
<array>
  <string>appScheme</string>
</array>
import { PackageManager } from '@rentlydev/react-native-bridge';
await PackageManager.isPackageInstalled("appScheme://") // true or false

getPackageFingerprint(packageName) (Only For Android)

If >= Android 11 (API level 30) and below to AndroidManifest.xml

<manifest xmlns:android="http://schemas.android.com/apk/res/android">

  <queries>
    <package android:name="com.example.package" /> // Add the package that you want to get fingerprint
  </queries>

</manifest>
import { PackageManager } from '@rentlydev/react-native-bridge';
const response = await PackageManager.getPackageFingerprint("com.example.package")
// 2F:19:AD:EB:28:4E:B3:6F:7F:07:78:61:52:B9:A1:D1:4B:21:65:32:03:AD:0B:04:EB:BF:9C:73:AB:6D:76:25

setResultAndFinish(result, extras) (Only For Android)

import { ActivityManager } from '@rentlydev/react-native-bridge';
result = "ok" or "cancel"
extras = { string: number | string | boolean }
ActivityManager.setResultAndFinish(result, extras)

How To Run Example App ?

To run example app, follow the below steps

  1. Clone the repository
  2. Do yarn install
  3. Next navigate to example folder i.e cd example
  4. Do yarn install
  5. Next navigate to ios folder i.e cd ios and do pod install, then cd ..
  6. For android run yarn android
  7. For ios run yarn ios