Socket
Book a DemoInstallSign in
Socket

fastcdc-wasm

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fastcdc-wasm

WASM wrapper for fastcdc-rs

latest
Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

fastcdc-wasm

Another attempt at creating a wrapper for fastcdc in node.js. This time using wasmbindgen instead of neon.

Has a few sharp edges, but mostly works.

install

npm install fastcdc-wasm

API

require('fastcdc-wasm')(bytes, minChunkSize, avgChunkSize, maxChunkSize)

  • bytes some Uint8Array of bytes
  • minChunkSize the smallest size chunk
  • avgChunkSize the average chunk size
  • maxChunkSize maximum chunk size

Returns A Uint32Array of chunks

License

(c) 2021 Mikola Lysenko. MIT License

FAQs

Package last updated on 27 Oct 2021

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