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

0.0.1 • Public • Published

path-to-hash

Calculates a given hash of a given path

Install

Using yarn:

yarn add path-to-hash

or using npm:

npm install path-to-hash

Usage

const pathToHash = require('path-to-hash')
 
const hash = await pathToHash('sha256', '/path/to/file')

Package Sidebar

Install

npm i path-to-hash

Weekly Downloads

278

Version

0.0.1

License

MIT

Unpacked Size

1.83 kB

Total Files

6

Last publish

Collaborators

  • dimitarnestorov