# react-zlib

> Deflate/Inflate tokens/string, mostly useful for browser applications.

Latest version **1.0.1** (published 2022-07-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-zlib
pnpm add react-zlib
yarn add react-zlib
bun add react-zlib
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2022-07-23 |
| First published | 2022-07-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=10 |
| Dependencies | 1 |
| Unpacked size | 7.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Sagar Doshi |
| Maintainers | sagardoshi |
| Keywords | react.js, zlib, zlib.inflateSync, zlib.deflateSync |

## Links

- npm: https://www.npmjs.com/package/react-zlib
- Repository: https://github.com/sagardoshi08/react-zlib
- Homepage: https://github.com/sagardoshi08/react-zlib#readme
- Issues: https://github.com/sagardoshi08/react-zlib/issues
- npm.io page: https://npm.io/package/react-zlib

## Dependencies (1)

- [zlib](https://npm.io/package/zlib.md) ^1.0.5

## Alternatives

- [lodash.startswith](https://npm.io/package/lodash.startswith.md) — 769.7K weekly downloads
- [@tarojs/service](https://npm.io/package/@tarojs/service.md) — 33.9K weekly downloads
- [io.extendreality.tilia.indicators.spatialtargets.unity](https://npm.io/package/io.extendreality.tilia.indicators.spatialtargets.unity.md) — 131 weekly downloads
- [@rtarojs/taro](https://npm.io/package/@rtarojs/taro.md) — 90 weekly downloads
- [node-branch-io](https://npm.io/package/node-branch-io.md) — 50 weekly downloads

## Recent versions

- 1.0.1 (latest) — 2022-07-23
- 1.0.0 — 2022-07-23

## README

# Welcome to React-Zlib

The `zlib` module provides compression functionality implemented using Gzip and Deflate/Inflate. It is the part of nodejs core module written in c++ . So the problem  is we can't use this module outside of nodejs. so now this package help you to use deflate and inflate zlib functionality in real **Javascript**, **typescript** and  **React.js**

## Installation

[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fauth0%2Fjwt-decode.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fauth0%2Fjwt-decode?ref=badge_shield)

Install with NPM or Yarn.

Run `npm install react-zlib` or `yarn add react-zlib` to install the library.

## Usage

```javascript
import { deflate, inflate } from 'react-zlib';

const token = "eyJ0eXAiO.../// any token";
const deflated = deflate(token);

console.log(deflated);

const inflated = inflate(token);

console.log(inflated);

```

---
_Source: https://npm.io/package/react-zlib · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
