react-native-nitro-module-template

0.0.11 • Public • Published

React Native Nitro Module Template

A scalable monorepo starter template for building React Native Nitro Modules - featuring TypeScript support, native platform implementations, and modern development workflows.

Features

  • ⚡️ Nitro Modules integration
  • 📱 iOS and Android nitro module implementations
  • 🧪 Jest testing setup
  • 📦 Modern package management
  • 🚀 TypeScript support out of the box

Project Structure

.
├── android/              # Android application source
├── ios/                  # iOS application source
├── src/                  # React Native app code
├── packages/             # JavaScript/TypeScript module packages
│   └── my-nitro-module/  # Example of a nitro module
│       ├── __tests__/    # Test files
│       ├── android/      # Android native module implementation
│       ├── ios/          # iOS native module implementation
│       └── src/          # native module specs
├── package.json          # Project configuration
├── tsconfig.json         # TypeScript settings
└── README.md             # Documentation

Usage

bunx react-native init MyApp --template react-native-nitro-module-template
cd MyApp
bun install

Quick Start With Nitro Modules

[!TIP] To quickly generate Nitro Modules in your app, use Create Nitro Module. bun create nitro-module my-nitro-module --module-dir native-modules cd my-nitro-module bun install

Contributing

Please read CONTRIBUTING.md for details on our code of conduct and the process for submitting pull requests.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Learn More

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.115latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.115
0.0.102
0.0.92
0.0.82
0.0.72
0.0.62

Package Sidebar

Install

npm i react-native-nitro-module-template

Weekly Downloads

15

Version

0.0.11

License

MIT

Unpacked Size

339 kB

Total Files

102

Last publish

Collaborators

  • kazion