js-crc-update
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "js-crc-update", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Simple CRC checksum functions for JavaScript(CRC-16 and CRC-32).", | ||
@@ -24,3 +24,3 @@ "main": "src/crc.js", | ||
"license": "MIT", | ||
"author": "Yes", | ||
"author": "Shyzuu", | ||
"directories": { | ||
@@ -42,2 +42,3 @@ "test": "tests" | ||
"jade": "^0.26.3", | ||
"js-crc-update": "^0.1.0-smallfix", | ||
"lru-cache": "^2.7.3", | ||
@@ -44,0 +45,0 @@ "minimatch": "^0.2.14", |
@@ -1,16 +0,10 @@ | ||
# js-crc | ||
[](https://travis-ci.org/emn178/js-crc) | ||
[](https://coveralls.io/r/emn178/js-crc?branch=master) | ||
[](https://nodei.co/npm/js-crc/) | ||
# js-crc-update | ||
[](https://nodei.co/npm/js-crc-update/) | ||
Simple CRC checksum functions for JavaScript(CRC-16 and CRC-32). | ||
## Download | ||
[Compress](https://raw.github.com/emn178/js-crc/master/build/crc.min.js) | ||
[Uncompress](https://raw.github.com/emn178/js-crc/master/src/crc.js) | ||
[Compressed](https://github.com/Shyzuuu/js-crc-update/raw/main/crc.min.js) | ||
[Uncompressed](https://github.com/Shyzuuu/js-crc-update/raw/main/crc.js) | ||
## Installation | ||
You can also install js-crc by using Bower. | ||
bower install js-crc | ||
For node.js, you can use this command to install: | ||
@@ -23,9 +17,11 @@ | ||
```JavaScript | ||
crc16('Message to hash'); | ||
crc32('Message to hash'); | ||
crc16('Message to hash'); | ||
crc64('Message to hash'); // coming soon | ||
``` | ||
If you use node.js, you should require the module first: | ||
```JavaScript | ||
var crc32 = require('js-crc').crc32; | ||
var crc16 = require('js-crc').crc16; | ||
var crc16 = require('js-crc-update').crc16; | ||
var crc32 = require('js-crc-update').crc32; | ||
var crc64 = require('js-crc-update').crc64; // coming soon | ||
``` | ||
@@ -35,7 +31,8 @@ It supports AMD: | ||
require(['your/path/crc.js'], function (crc) { | ||
var crc32 = crc.crc32; | ||
var crc16 = crc.crc16; | ||
// ... | ||
var crc16 = crc.crc16; | ||
var crc32 = crc.crc32; | ||
var crc64 = crc.crc64; // coming soon | ||
// ... | ||
}); | ||
``` | ||
## Example | ||
@@ -52,6 +49,2 @@ ```JavaScript | ||
## License | ||
The project is released under the [MIT license](http://www.opensource.org/licenses/MIT). | ||
## Contact | ||
The project's website is located at https://github.com/emn178/js-crc | ||
Author: Chen, Yi-Cyuan (emn178@gmail.com) | ||
The project is released under the [MIT license](http://www.opensource.org/licenses/MIT). |
AI-detected possible typosquat
Supply chain riskAI has identified this package as a potential typosquat of a more popular package. This suggests that the package may be intentionally mimicking another package's name, description, or other metadata.
Found 1 instance in 1 package
14897
26
246
47
1