npm.io
6.12.0 • Published 6d ago

@lingui/metro-transformer

Licence
MIT
Version
6.12.0
Deps
3
Size
14 kB
Vulns
0
Weekly
0
Stars
5.9K

License Version Downloads

@lingui/metro-transformer

Metro transformer that compiles Lingui message catalogs on the fly in React Native and Expo apps

@lingui/metro-transformer is part of Lingui. Lingui is a lightweight, open-source internationalization (i18n) library for JavaScript and TypeScript. It brings compile-time macros and a CLI for message extraction to React, React Native, Vue, SolidJS, Astro, Svelte, and Node.js.

The transformer lets a React Native or Expo app import .po files directly instead of running lingui compile.

Usage

See the React Native tutorial and the Metro transformer reference.

License

This package is licensed under the MIT license.

Keywords