path-to-sha256

Calculates a SHA-256 for given data

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
path-to-sha256
0.0.14 years ago4 years agoMinified + gzip package size for path-to-sha256 in KB

Readme

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