
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.
Install nitrogen as a devDependency
in your react-native library:
npm i nitro-codegen -D
[!WARNING] Nitrogen is currently named
nitro-codegen
instead ofnitrogen
on npm.
See the Nitrogen documentation for more information.