<a href="https://margelo.com">
  <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" />
    <img alt="Nitrogen" src="../../docs/static/img/banner-nitrogen-light.png" />
  </picture>
</a>

<br />

**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**](../react-native-nitro-modules/) core APIs.

## Installation

Install [nitrogen](https://npmjs.org/nitrogen) as a `devDependency` in your Nitro Module:
```sh
npm i nitrogen -D
```

Then, generate your specs;

```sh
npx nitrogen
```

## Usage

See the [Nitrogen documentation](https://nitro.margelo.com/docs/concepts/nitrogen) for more information.
