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

@vibrant/quantizer

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vibrant/quantizer - npm Package Versions

4.0.0

Diff

crutchcorn
published 4.0.0-beta.1 •

crutchcorn
published 4.0.0-alpha.4 •

crutchcorn
published 4.0.0-alpha.3 •

crutchcorn
published 4.0.0-alpha.1 •

crutchcorn
published 3.2.1-alpha.1 •

akfish
published 3.2.0-alpha •

akfish
published 3.1.0-alpha.1 •

akfish
published 3.1.0-0 •

akfish
published 3.0.0 •

Changelog

Source

3.0.0

New WebWorker support in v3.0

Quantization is the most time-consuming stage in node-vibrant. In v3.0, the quantization can be run in the WebWorker to avoid freezing the UI thread.

Here's how to use this feature:

  1. Use WebWorker build dist/vibrant.worker.js or dist/vibrant.worker.min.js. Or if you are re-bundling with webpack, use lib/bundle.worker.js as entry
  2. Use WebWorker quantizer:
    let v = Vibrant.from(src).useQuantizer(Vibrant.Quantizer.WebWorker);
    // Other configurations
    
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