Socket
Socket
Sign inDemoInstall

@stardazed/adler32

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stardazed/adler32

Compute the Adler-32 checksum of a buffer


Version published
Weekly downloads
2
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

@stardazed/adler32

Compute the Adler-32 checksum of a buffer.

Installation

npm install @stardazed/adler32
pnpm install @stardazed/adler32
yarn add @stardazed/adler32

Usage

import { adler32 } from "@stardazed/adler32";

// takes an ArrayBuffer, TypedArray or DataView, returns an unsigned 32-bit int
const checksum = adler32(new Uint8Array([1, 2, 3, 4]));

Copyright (C) 1995-2011, 2016 Mark Adler
Converted to TypeScript by Arthur Langereis (@zenmumbler)
from adler32.c, which can be found at:
https://github.com/madler/zlib/blob/master/adler32.c

License

zlib

FAQs

Package last updated on 03 Jul 2018

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