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