Socket
Book a DemoInstallSign in
Socket

mdfive

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mdfive

Another md5 module

1.1.0
latest
Source
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

md5

FAQs

Package last updated on 05 Jun 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.