1.0.0 • Published 9 years ago
sha1-sum v1.0.0
sha1-sum
SHA1 sum of a file
install
$ npm install sha1-sumusage
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
9 years ago