Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/cmake-rn/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# `cmake-rn`

A wrapper around CMake making it easier to produce [prebuilt binaries](./docs/PREBUILDS.md) targeting iOS and Android matching the [the prebuilt binary specification](./docs/PREBUILDS.md).
A wrapper around Cmake making it easier to produce prebuilt binaries targeting iOS and Android matching the [the prebuilt binary specification](https://github.com/callstackincubator/react-native-node-api/blob/main/docs/PREBUILDS.md).

Serves the same purpose as `cmake-js` does for the Node.js community and could potentially be upstreamed into `cmake-js` eventually.
3 changes: 3 additions & 0 deletions packages/ferric/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# `ferric`

A wrapper around Cargo making it easier to produce prebuilt binaries targeting iOS and Android matching the [the prebuilt binary specification](https://github.com/callstackincubator/react-native-node-api/blob/main/docs/PREBUILDS.md) as well as [napi.rs](https://napi.rs/) to generate bindings from annotated Rust code.
1 change: 0 additions & 1 deletion packages/gyp-to-cmake/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "gyp-to-cmake",
"version": "0.1.0",
"private": true,
"description": "Convert binding.gyp files to CMakeLists.txt",
"homepage": "https://github.com/callstackincubator/react-native-node-api",
"repository": {
Expand Down
22 changes: 20 additions & 2 deletions packages/host/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
# Node-API Modules for React Native
<p align="center">
<img src="./logo.svg" width="20%" />
</p>

Write once, run anywhere: Build native modules for [React Native](https://reactnative.dev/) with [Node-API](https://nodejs.org/api/n-api.html).
<h1 align="center">
Node-API Modules<br/>for React Native
</h1>

<p align="center">
<strong>Write once, run anywhere:</strong><br/>
Build native modules for <a href="https://reactnative.dev/">React Native</a> with <a href="https://nodejs.org/api/n-api.html">Node-API</a>.
</p>

## Getting started

> [!WARNING]
> This library is still under active development. Feel free to hack around, but use at your own risk.

```
npm install react-native-node-api
```
58 changes: 58 additions & 0 deletions packages/host/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions packages/host/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"./weak-node-api": "./weak-node-api"
},
"files": [
"logo.svg",
"bin",
"dist",
"cpp",
Expand Down
Loading