Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@figuredev/react-native-local-server
Advanced tools
Library for creating a local server on the device running React Native.
Library for creating a local server on the device running React Native.
The library exposes several classes to ease communication over local network.
Install yarn dependency:
yarn add @figuredev/react-native-local-server
Install iOS dependencies (from ios/ directory):
pod install
Low level implementation of TCP protocol. There are two classes: server and client. Once the server is running the client can connect to it. All data parts has to be delimited by new line character.
See documentation of classes for more information.
Low level implementation of UDP protocol. There is only one call: server. The server doesn't have to be running in order to send data.
See documentation of the class for more information.
Abstraction above TCP layer using RxJS. There are again two classes: server and client. Both server and client require a handler when starting. The handler is a function that takes a stream of incoming messages and defined dependencies. This design was inspired by redux-observable (TODO link) library. Both classes also provides a stream of status events.
See documentation of classes for more information.
Abstraction above UDP layer using RxJS. All incoming calls are provided via stream CallerIdServer.getIncomingCall$()
.
The server can also simulate incoming call via method CallerIdServer.simulateCall(call: PhoneCall)
.
See documentation of the class for more information.
See documentation of classes for more information.
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
FAQs
Library for creating a local server on the device running React Native.
The npm package @figuredev/react-native-local-server receives a total of 6 weekly downloads. As such, @figuredev/react-native-local-server popularity was classified as not popular.
We found that @figuredev/react-native-local-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.