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