create-react-native-library# Inspect current options before scaffolding
npx create-react-native-library@latest --help
# Scaffold a library with turbo modules and the Expo example app
npx create-react-native-library@latest awesome-library \
--no-interactive \
--yes \
--description "A brief description of the library" \
--type turbo-module \
--languages kotlin-objc \
--example expo
# Scaffold a local Turbo Module inside an existing app
cd MyApp
npx create-react-native-library@latest awesome-library \
--local \
--no-interactive \
--yes \
--description "A brief description of the library" \
--type turbo-module \
--languages kotlin-objc
| File | Description |
|---|---|
| scaffold-library.md [blocked] | Scaffold a new library and default to the Expo example |
| local-library.md [blocked] | Add a local library to an existing app with autolinking |
| Problem | Start With |
|---|---|
| Need a new library scaffold | scaffold-library [blocked] |
| Need to add a local native library to an app | local-library [blocked] |
Start with one job and grow from there.