Desert Ant Labs

On-device AI Models for JavaScript

npm packages that run models in the browser and in Node, with TypeScript types included.

The JavaScript and TypeScript packages run in Node and the browser, scoped under @desert-ant-labs on npm. The packages run the models through transformers.js, ONNX Runtime Web, or LiteRT.js.

Everything runs locally, so data stays on the device. Install with npm and import with full TypeScript types.

Available models

RedactPII redaction

PII redaction in the browser via LiteRT.js, no server round-trip.

EmoEmoji suggestions

Multilingual emoji suggestions from text, 22 languages, in the browser or Node.

GistContent topic tagging

Content topics from any text across 101 languages, on device via WebAssembly and LiteRT.js.

ShapesShape recognition

Single-stroke shape recognition in WebAssembly with LiteRT.js.

ClearSpeech enhancement

Speech enhancement in the browser through WebAssembly and LiteRT.js.

UhmFiller-word detection

On-device filler detection that marks every um, uh and hmm to within 20ms, an hour of audio in 12s.

TongueLanguage identification

Language identification for short text across 84 languages, runs client-side with no inference runtime to load.

ModeratorContent moderation

NSFW image moderation in the browser or Node, from a 9.2MB LiteRT model.

EyeImage classification

Photo tagging in the browser on WebGPU, or in Node: screenshots, receipts, closed eyes and 558 scenes.

WhoWho said what

Label the speakers in a recording and see exactly when each person starts and stops talking, entirely on the device.

ToxicHate speech triage

On-device moderation that flags hateful, abusive and threatening text in 35 languages, before the message is sent.

AlignWord timestamps

Tighter word timings for any transcript, in Node through LiteRT. Corrects Apple, Whisper, or Parakeet timings.

EarSpoken language detection

Spoken language identification across 99 languages, in the browser and in Node.

VozSpeech recognition

On-device transcription with word timestamps, in the browser and Node on WebAssembly.

Pricing

Each model is free up to 100k monthly active devices. Inference is unlimited.