Notwithstanding Precautions, Misadventure
Miss any of our Open RFC calls?Watch the recordings here! »

data-to-md5

0.0.1 • Public • Published

data-to-md5

Calculates a MD5 of a given buffer/string

Install

Using yarn:

yarn add data-to-md5

or using npm:

npm install data-to-md5

Usage

const fs = require('fs')
const dataToMD5 = require('data-to-md5')
 
const buffer = fs.readFileSync('/path/to/file')
 
const hash = dataToMD5(buffer)

Install

npm i data-to-md5

DownloadsWeekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

1.66 kB

Total Files

6

Last publish

Collaborators

  • avatar