You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

react-native-jsi-udp

Package Overview
Dependencies
Maintainers
0
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-jsi-udp

UDP module for React Native using JSI

1.3.0
latest
Source
npmnpm
Version published
Weekly downloads
76
-12.64%
Maintainers
0
Weekly downloads
 
Created
Source

react-native-jsi-udp

High performance UDP socket for React Native using JSI.

Installation

npm install react-native-jsi-udp

Android

Add this rule if you are using ProGuard:

-keep class com.jsiudp.** { *; }

iOS

Add NSLocalNetworkUsageDescription to your Info.plist if you need do multicast:

<key>NSLocalNetworkUsageDescription</key>
<string>Allow local network access</string>

Usage

import dgram from 'react-native-jsi-udp';

// The API is like Node's dgram API
const socket = dgram.createSocket('udp4');

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

Built and maintained by BRICKS.

Keywords

react-native

FAQs

Package last updated on 28 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts