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
yarn add path-to-sha512
npm install path-to-sha512
const pathToSHA512 = require('path-to-sha512')
const hash = await pathToSHA512('/path/to/file')
Bytes is a JavaScript newsletter you'll actually enjoy reading.
Delivered every Monday, for free.