udias-task-checksum-creation
v1.0.0
Published
Task for the udias platform to compute the checksum of a file
Downloads
1
Readme
Task - Checksum Creation
This module is used as a task for the udias platform.
Compute the MD5 hash of a file
Usage
import { work } from 'udias-task-checksum-creation'
const source = new Buffer(['example data'])
work(source).then((checksum) => {
console.log(`checksum: ${checksum}`)
})
.catch(::console.error)
For a detailed examples checkout the example.