path-to-sha256
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

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')

Package Sidebar

Install

npm i path-to-sha256

Weekly Downloads

50

Version

0.0.1

License

MIT

Unpacked Size

1.48 kB

Total Files

6

Last publish

Collaborators

  • dimitarnestorov