Sumchecker is a pure Node.js solution to validating files specified in a checksum file, which are
usually generated by programs such as
const sumchecker = ;tryawait ;console;catch errorconsole;
String - The path to the checksum file.
String - The base directory for the files specified in
String - one or more paths of the files that will be validated, relative to
sumchecker-specific error classes that are passed to the promise's reject callback.
When at least one of the files does not match its expected checksum.
String) - a path to a file that did not match
When the checksum file cannot be parsed (as in, it does not match the checksum file format).
Number) - the line number that could not be parsed
String) - the raw line data that could not be parsed, sans newline
When at least one of the files specified to check is not listed in the checksum file.
String) - a filename from
Security contact information
To report a security vulnerability, please use the Tidelift security contact. Tidelift will coordinate the fix and disclosure.
This library is copyrighted under the terms of the Apache 2.0 License.