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

lighter-crc32

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

lighter-crc32

A lightweight JavaScript CRC32 calculator.

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
195
increased by21.88%
Maintainers
1
Weekly downloads
 
Created
Source

lighter-crc32

Chat Version Downloads Build Coverage Style

The lighter-crc32 module is a lightweight CRC32 calculator.

It supports:

  • Constructors (Type.prototype.init)
  • Prototypal inheritance (Type.extend)
  • Multiple inheritance (Type.decorate)
  • Non-enumerable property definitions (Type.hide)

Installation

From your project directory, install and save as a dependency:

npm install --save lighter-crc32

API

Just pass a string or buffer to the crc32 function to get a CRC32 integer.

var crc32 = require('lighter-crc32')
var a = crc32('String to hash')
var b = crc32(new Buffer('Buffer to hash'))

More on lighter-crc32...

Keywords

FAQs

Package last updated on 02 Jan 2017

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