Package detail

nitro-codegen

mrousavy31.5kMIT0.29.3

The code-generator for react-native-nitro-modules.

readme

<picture> <source media="(prefers-color-scheme: dark)" srcset="../../docs/static/img/banner-nitrogen-dark.png" /> <source media="(prefers-color-scheme: light)" srcset="../../docs/static/img/banner-nitrogen-light.png" /> Nitrogen </picture>


Nitrogen is a code-generator that takes TypeScript interfaces and generates C++, Swift and Kotlin code and native bindings built on top of the react-native-nitro-modules core APIs.

Installation

Install nitrogen as a devDependency in your react-native library:

npm i nitro-codegen -D

[!WARNING] Nitrogen is currently named nitro-codegen instead of nitrogen on npm.

Usage

See the Nitrogen documentation for more information.