1.0.0 • Published 8 years ago
sha1-sum v1.0.0
sha1-sum
SHA1 sum of a file
install
$ npm install sha1-sum
usage
import sha1sum from 'sha1-sum';
sha1sum('path/to/file').then(sum => console.log(sum));
api
sha1sum(file: string): Promise<string>
Returns a Promise
that will resolve to the SHA1 sum of file
.
license
MIT
1.0.0
8 years ago