path-to-sha512
Calculates a SHA-512 of a given path
Install
Using yarn:
yarn add path-to-sha512
or using npm:
npm install path-to-sha512
Usage
const pathToSHA512 = require('path-to-sha512')
const hash = await pathToSHA512('/path/to/file')
Calculates a SHA-512 of a given path
Using yarn:
yarn add path-to-sha512
or using npm:
npm install path-to-sha512
const pathToSHA512 = require('path-to-sha512')
const hash = await pathToSHA512('/path/to/file')
npm i path-to-sha512
100
0.0.1
MIT
1.48 kB
6