
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
react-native-zstd
Advanced tools
ZSTD compression bindings for React Native, powered by Nitro Modules.
yarn add react-native-zstd react-native-nitro-modules
For iOS, run pod install in your ios directory.
import { compress, decompress } from 'react-native-zstd';
// Compress a string (returns ArrayBuffer)
const compressed = compress('Hello World!', 3);
// Decompress back to string
const decompressed = decompress(compressed);
console.log(decompressed); // "Hello World!"
compress(data: string, compressionLevel?: number): ArrayBufferCompresses a UTF-8 string using ZSTD.
data - The string to compresscompressionLevel - Compression level (default: 3). Higher = better compression, slower speed.decompress(data: ArrayBuffer): stringDecompresses ZSTD-compressed data back to a UTF-8 string.
data - The compressed data as an ArrayBufferSee the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with create-react-native-library
FAQs
ZSTD for React Native
The npm package react-native-zstd receives a total of 15 weekly downloads. As such, react-native-zstd popularity was classified as not popular.
We found that react-native-zstd demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.