Node.js
Node.js
Compute CRC32 of a File
Calculates the CRC32 of a file's contents and returns the 32-bit CRC as a hex string.Chilkat Node.js Downloads
NODEJS_PRELUDE
function chilkatExample() {
var zipCrc = new chilkat.ZipCrc();
// Use a relative for absolute path to the file..
var crc = zipCrc.FileCrc("qa_data/hamlet.xml");
var hexStr = zipCrc.ToHex(crc);
console.log(hexStr);
}
chilkatExample();