Skip to content

Commit

Permalink
Update for-users.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mrousavy committed Sep 9, 2024
1 parent b4913e4 commit 95b2af6
Showing 1 changed file with 29 additions and 4 deletions.
33 changes: 29 additions & 4 deletions docs/docs/for-users.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,38 @@
---
---

import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

# For library users

If you are using a library that is built with Nitro, all you need to do is install the Nitro Modules core package:

```sh
npm i react-native-nitro-modules
cd ios && pod install
```
<Tabs groupId="package-manager">
<TabItem value="npm" label="npm" default>
```sh
npm i react-native-nitro-modules
cd ios && pod install
```
</TabItem>
<TabItem value="yarn" label="yarn">
```sh
yarn add react-native-nitro-modules
cd ios && pod install
```
</TabItem>
<TabItem value="pnpm" label="pnpm">
```sh
pnpm add react-native-nitro-modules
cd ios && pod install
```
</TabItem>
<TabItem value="bun" label="bun">
```sh
bun i react-native-nitro-modules
cd ios && pod install
```
</TabItem>
</Tabs>

Nitro Modules are lightweight, yet powerful native bindings to native code, so thank the library author for choosing Nitro to make your app faster! 😄

0 comments on commit 95b2af6

Please sign in to comment.