🥭 Mango.dev

A type-safe multilingual translation library powered by Lingo.dev. Translate any JavaScript object into multiple languages in one call — with full TypeScript support.

Features

One call, all languages

Translate any nested object or array in a single mg.translate() call.

Type-safe exclude paths

Autocomplete on your schema — TypeScript error if the path doesn't exist.

Smart skipping

URLs, emails, numbers, and dates are never sent to the API.

React layer

MangoProvider + useMango() + t() for instant client-side lang switching.

API key stays on server

Frontend only receives langs — api_key is never exposed to the client.

Progress callback

Track translation progress with an onProgress handler.

Fast mode

Prioritize speed over quality when needed.

Packages

-

Core translation engine, TypeScript types, and utility functions.

-

React bindings for Mango.dev, including MangoProvider and useMango hook.