Fast gzip to compress strings for android & ios in React Native
npm install react-native-gzipFast gzip to compress strings for android & ios in React Native
``sh`
npm install react-native-gzip
`jshello world
import { deflate, inflate } from 'react-native-gzip';
const data = ;``
const compressed = await deflate(data); // Returns a base64 string of compressed data
const decompressed = await inflate(compressed); // Decompress the data to original string value
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
---
Made with create-react-native-library