bark.rn
v0.1.0-beta.0
Published
Bark.cpp integration for React Native
Downloads
8
Readme
bark.rn
Bark.cpp integration for React Native
Installation
npm install bark.rn
Setup for iOS with React Native < 0.75
Install
cocoapods-spm
Add these lines in
Podfile
# ...
target "YourApp" do
# ...
# Add these lines
spm_pkg "bark",
:url => "https://github.com/PABannier/bark.cpp.git",
:branch => "main",
:products => ["bark"]
# spm_pkg should be before use_native_modules!
config = use_native_modules!
# ...
end
Usage
import { multiply } from 'bark.rn';
// ...
const result = await multiply(3, 7);
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
Made with create-react-native-library