Skip to content

volumenetwork/mdfive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mdfive

Build Status

node.js md5 module

Features

File over 2Gb

$ node index.js
Unhandled rejection RangeError: File size is greater than possible Buffer: 0x7fffffff bytes
    at FSReqWrap.readFileAfterStat [as oncomplete] (fs.js:330:11)
$ node index.js
4ff02042d751f1acfd7c1c18d856ceb6

Usage

var MDFive = require('mdfive').MDFive;

var md5 = new MDFive();

md5.fileChecksum('path/to/myfile.txt')
	.then(cksum => {
		console.log(cksum);
	});

Benchmark

N.B. Tested on OSX using md5 installed via homebrew.

Test on 40MB file

Native node0.272secs
MdFive0.281secs

Releases

No releases published

Packages

No packages published