New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

brotli-compress-wasm

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brotli-compress-wasm

The smallest brotli compression module for the edge

  • 0.5.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

brotli-compress-wasm

The smallest brotli compression module for the edge.

  • pure clang is used instead of emcc
  • own libc with walloc for memory management

Usage

Note: Only synchronous processing in a single thread and in a single iteration is supported

import * as brotli from 'brotli-compress-wasm';

// size of compressed buffer
const size = brotli.compress(buffer);

// ...to take output as Uint8Array
const result = brotli.output(size);

Installation

Recommend to use yarn for dependency management:

yarn add brotli-compress-wasm

License

brotli-compress-wasm is MIT licensed.

Keywords

FAQs

Package last updated on 19 Jan 2023

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