diff --git a/NEWS.md b/NEWS.md index 4b26efd..b6e348f 100644 --- a/NEWS.md +++ b/NEWS.md @@ -5,6 +5,7 @@ ### Added * Optional `defaultTextEncoding` parameter in the `ChecksumValidator` constructor +* Access to the underlying `ChecksumValidator` class ## [1.0.0] - 2016-09-05 diff --git a/index.js b/index.js index 6ef7ca6..020518d 100644 --- a/index.js +++ b/index.js @@ -158,6 +158,7 @@ let sumchecker = function sumchecker (algorithm, checksumFilename, baseDir, file sumchecker.ChecksumMismatchError = ChecksumMismatchError sumchecker.ChecksumParseError = ChecksumParseError +sumchecker.ChecksumValidator = ChecksumValidator sumchecker.NoChecksumFoundError = NoChecksumFoundError module.exports = sumchecker