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

@nitro-mlkit/digital-ink

v0.1.0-beta.0

Published

High-performance on-device handwriting recognition for React Native — Google ML Kit + Nitro. Recognize ink strokes in 300+ languages, zero bridge overhead.

Readme

React Native ML Kit — Digital Ink Recognition

@nitro-mlkit/digital-ink · on-device Google ML Kit via Nitro Modules — JSI, no bridge.

⚠️ Beta (0.1.0-beta.x). Android verified on-device. iOS builds & links but device runtime is pending — see Platform status.

High-performance, on-device handwriting / digital-ink recognition for React Native, built with Nitro Modules (JSI, no bridge).

Powered by Google ML Kit. Feed it the strokes the user drew (points with optional timestamps) and a language tag; get back candidate transcriptions. 300+ languages, plus autodraw/shapes and emoji. The per-language model downloads at runtime on first use. All on-device.

Installation

npm install @nitro-mlkit/digital-ink@beta react-native-nitro-modules

No config plugin (autolinked Expo module). Install and npx expo prebuild. Not available in Expo Go.

Usage

import { NitroDigitalInk, type InkStroke } from "@nitro-mlkit/digital-ink";

// Collect strokes from your canvas (e.g. via PanResponder). Each stroke is the
// list of points between pen-down and pen-up. Timestamps (t) are optional but
// improve accuracy.
const strokes: InkStroke[] = [
  { points: [ { x: 10, y: 20, t: 0 }, { x: 12, y: 22, t: 16 }, /* … */ ] },
];

const candidates = await NitroDigitalInk.recognize(strokes, "en-US");
// → [{ text: "hello", score: … }, { text: "helio", … }, …]  (best first)

// Model management
await NitroDigitalInk.downloadModel("es-ES");
await NitroDigitalInk.isModelDownloaded("es-ES"); // boolean
await NitroDigitalInk.deleteModel("es-ES");

NitroDigitalInk.isAvailable(); // boolean

Language tags follow ML Kit's identifiers (e.g. "en-US", "es-ES", "fr-FR", "zh-Hani", "emoji").

Platform status

| Platform | Min | Status | | -------- | --- | ------ | | Android | API 26+ | ✅ Verified on-device (Pixel 9, API 36) | | iOS | 15.5+ | ⚠️ Swift impl written; on-device build & run pending¹ | | tvOS/macOS | — | 🔜 Planned |

¹ ML Kit's iOS pods ship no arm64 Simulator slice; validate on a physical device.

Part of nitro-mlkit

The full ML Kit suite on Nitro — see the other @nitro-mlkit/* packages.

License

MIT © Gonzalo Polo