https://github.com/cjsaylor/md5-file-promise
Compute md5 hashes of files via streams that return promises.
https://github.com/cjsaylor/md5-file-promise
Last synced: over 1 year ago
JSON representation
Compute md5 hashes of files via streams that return promises.
- Host: GitHub
- URL: https://github.com/cjsaylor/md5-file-promise
- Owner: cjsaylor
- License: mit
- Created: 2015-04-12T00:06:56.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-04-12T17:57:40.000Z (about 11 years ago)
- Last Synced: 2025-03-11T21:02:38.535Z (over 1 year ago)
- Language: JavaScript
- Size: 129 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# MD5 File Promise [](https://travis-ci.org/cjsaylor/md5-file-promise)
The purpose of this library is to allow for files to have their md5 hash computed
via modern nodejs streams and is promised based instead of callback based.
## Example Usage
```javascript
var md5 = require('md5-file-promise');
md5.computeFromFile('/path/to/file').then(console.log);
// console logs the computed hash
```