0.2.0 โ€ข Published 10 months ago

react-native-nitro-module-template v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

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 --skip-example --module-dir packages

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

0.2.0

10 months ago

0.1.0

10 months ago

0.0.11

11 months ago

0.0.10

11 months ago

0.0.9

11 months ago

0.0.8

11 months ago

0.0.7

11 months ago

0.0.6

11 months ago