npm.io
0.0.1 • Published 7 years ago

path-to-sha1

Licence
MIT
Version
0.0.1
Deps
1
Size
1 kB
Vulns
0
Weekly
0
Stars
3

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')

Keywords