cordova-plugin-file-md5

0.3.3 • Public • Published

file-md5

Cordova MD5 checksum plugin for Android and iOS. The plugin reads large files in chunks and build the md5sum incrementally. It can process much larger files then read the complete content in memory and process it in place.

install

cordova plugin add cordova-plugin-file-md5

usage

fileEntry is a org.apache.cordova.file.FileEntry

function win(md5sum){
    console.log("MD5SUM: " + md5sum);
}
function fail(error){
    console.log("Error-Message: " + error);
}
md5chksum.file(fileEntry, win, fail);

Dependents (0)

Package Sidebar

Install

npm i cordova-plugin-file-md5

Weekly Downloads

136

Version

0.3.3

License

MIT

Unpacked Size

8.24 kB

Total Files

8

Last publish

Collaborators

  • mramonlopez