Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tiny-inflate

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tiny-inflate

A tiny inflate implementation

  • 1.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created

What is tiny-inflate?

The tiny-inflate npm package is a minimal JavaScript implementation of the inflate algorithm, which is used for decompressing data compressed with the DEFLATE compression algorithm. It is designed to be small and efficient, suitable for use in environments where resources are limited or where only the inflate functionality is needed without the overhead of a full zlib implementation.

What are tiny-inflate's main functionalities?

Decompressing a DEFLATE-compressed buffer

This feature allows you to decompress a buffer of data that has been compressed using the DEFLATE algorithm. You need to provide the compressed data as a Uint8Array and an output buffer with the expected size of the decompressed data. After calling tinyInflate with these parameters, the output buffer will contain the decompressed data.

var tinyInflate = require('tiny-inflate');
var compressed = new Uint8Array([...]); // Your compressed data here
var output = new Uint8Array(outputSize); // Output buffer with a size you expect the decompressed data to be

tinyInflate(compressed, output);
// Now 'output' contains the decompressed data

Other packages similar to tiny-inflate

Keywords

FAQs

Package last updated on 17 Nov 2019

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc