Socket
Socket
Sign inDemoInstall

crc

Package Overview
Dependencies
0
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.4.4 to 3.5.0

lib/crcjam.js

3

lib/index.js

@@ -13,3 +13,4 @@ 'use strict';

crc24: require('./crc24'),
crc32: require('./crc32')
crc32: require('./crc32'),
crcjam: require('./crcjam')
};
{
"name": "crc",
"version": "3.4.4",
"version": "3.5.0",
"description": "Module for calculating Cyclic Redundancy Check (CRC) for Node.js and the Browser.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -32,2 +32,3 @@ # crc

* CRC32 `crc.crc32(…)`
* CRCJAM `crc.crcjam(…)`

@@ -45,3 +46,3 @@ ## Installation

```js
var crc = require('crc');
const crc = require('crc');

@@ -76,2 +77,11 @@ crc.crc32('hello').toString(16);

For web distribution, it's best to require specific modules that you need to avoid bundling unnecessary code.
```js
const crc32 = require('crc/lib/crc32');
crc32('hello').toString(16);
// "3610a686"
```
## Running tests

@@ -78,0 +88,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc