path-to-sha1
v0.0.1
Published
Calculates a SHA-1 for given data
Downloads
91
Maintainers
Readme
path-to-sha1
Calculates a SHA-1 of a given path
Install
Using yarn:
yarn add path-to-sha1
or using npm:
npm install path-to-sha1
Usage
const pathToSHA1 = require('path-to-sha1')
const hash = await pathToSHA1('/path/to/file')