
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
react-native-citizen-escposprinter
Advanced tools
A Turbo Module wrapper for the Citizen ESC POS Printer SDK.
A React Native wrapper of the Citizen ECSPOSPrinter SDK, supporting the New Architecture and classic builds.
The current version embeds these SDKs:
Most of the methods are a simple wrapper of the native SDK. For a complete list of methods and their details, you may refer to the PDF manual inside the Citizen SDK.
import {
connect,
ESCPOSConst,
searchCitizenPrinters,
} from "react-native-citizen-escposprinter";
const main = async () => {
const results = await searchCitizenPrinters(
ESCPOSConst.CMP_PORT_WiFi,
);
console.info("Found printers:", results);
const printer = await connect(
ESCPOSConst.CMP_PORT_WiFi,
results[0].ipAddress
);
await printer.printText("Hello World!\n");
await printer.cutPaper(ESCPOSConst.CMP_CUT_FULL_PREFEED);
await printer.disconnect();
};
RCTEvents.receiveEvent() is not registeredtl;dr Do not use index.tsx as your entrypoint, use something like app.tsx
instead.
This error happens when all of the following conditions are met:
expo-router installedindex.tsx as your entrypointWhen expo-router's own modified entrypoint sees your index.tsx, it will be
confused and incorrectly overrides some native modules.
USB connections without specified a serial number is supported and tested in the following environments (see #7):
See the contributing guide to learn how to contribute to the repository and the development workflow.
If you use this library at work, consider sponsoring for a first-class technical support.
FAQs
A Turbo Module wrapper for the Citizen ESC POS Printer SDK.
The npm package react-native-citizen-escposprinter receives a total of 37 weekly downloads. As such, react-native-citizen-escposprinter popularity was classified as not popular.
We found that react-native-citizen-escposprinter 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 discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.