Calculates a SHA-512 for given data
npm install path-to-sha512> Calculates a SHA-512 of a given path
Using yarn:
``sh`
yarn add path-to-sha512
or using npm:
`sh`
npm install path-to-sha512
javascript
const pathToSHA512 = require('path-to-sha512')const hash = await pathToSHA512('/path/to/file')
``