sha1-sum

SHA1 sum of a file

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
sha1-sum
001.0.08 years ago8 years agoMinified + gzip package size for sha1-sum in KB

Readme

sha1-sum
Build Status
SHA1 sum of a file

install

install the package with npm:
$ 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