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

@johnsriders/react-native-text-recognition

v1.0.4

Published

React Native MLKIT Setup for Text Recognition

Readme

TextRecognition

🧠 TextRecognition - ML-Powered Text Extraction for React Native Bring the power of Google's latest ML Kit Text Recognition directly into your React Native app with @jd/react-native-text-recognition. This library allows you to effortlessly detect and extract text from images — printed or handwritten — using cutting-edge machine learning models.

🔥 Note: Due to integration with the newest version of ML Kit, this library requires iOS 16.1+ as the minimum deployment target .

Perfect for OCR features, document scanning, form auto-fill, and more!

✅ Features

🔍 Detects both printed and handwritten text

🚀 Powered by Google ML Kit (v8.0.0+) for high accuracy and performance

📱 Supports iOS 16.1 and above for native capabilities

⚙️ Easy installation via CocoaPods

👌 Works seamlessly with modern React Native projects

📲 Installation

🍎 iOS Setup

This library uses Google ML Kit , so you'll need to update your Podfile accordingly:

Installation IOS

pod 'TextRecognition', :path => '../node_modules/@johnsriders/react-native-text-recognition/ios'

pod 'GoogleMLKit/TextRecognition', '~> 8.0.0'
pod 'SDWebImage', '~> 5.11.1'

cd ios && pod install

post_install do |installer|
  installer.pods_project.build_configurations.each do |config|
    config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
  end
end

💡 Make sure your Xcode project is targeting iOS 16.1 or later , as ML Kit now requires it for full functionality

Installation Android

implementation 'com.google.android.gms:play-services-mlkit-text-recognition:19.0.1'

Usage


import TextRecognition from '@johnsriders/react-native-text-recognition';

TextRecognition.recognizeFromImage(imagePath)
  .then(text => console.log("Recognized text:", text))
  .catch(err => console.error("Recognition error:", err));

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT