Skip to content

patrickkabwe/create-nitro-module

Repository files navigation

🚀 Nitro Module CLI

A CLI tool that simplifies creating React Native modules powered by Nitro Modules.

Version Downloads License Docs

CLI Demo

Features

  • 📱 Pre-configured iOS & Android native module templates
  • 📦 Automatic linking and installation
  • 📚 TypeScript support out of the box

Project Structure

.
├── example
├── AwesomeLibrary.podspec
├── android
├── ios
├── src
│    ├── index.ts
│    └── specs
│         └── awesome-library.nitro.ts
│   ├── nitrogen
│   ├── nitro.json
│   ├── babel.config.js
│   ├── package.json
│   └── tsconfig.json
├── bun.lockb
└── package.json

Installation & Usage

For detailed installation and usage instructions, please visit our documentation.

Quick Start

# Using bun
bun create nitro-module@latest my-nitro-module

# Using npx
npx create-nitro-module@latest my-nitro-module

# Using pnpm
pnpm create nitro-module@latest my-nitro-module

# Using yarn
yarn create nitro-module@latest my-nitro-module