@product-live/fs.hash
v1.0.10
Published
![GitHub Actions status | linter](https://github.com/anzerr/fs.hash/workflows/linter/badge.svg) ![GitHub Actions status | publish](https://github.com/anzerr/fs.hash/workflows/publish/badge.svg) ![GitHub Actions status | test](https://github.com/anzerr/fs.
Downloads
1
Keywords
Readme
Intro
hash a directory or file
Install
npm install --save git+https://[email protected]/anzerr/fs.hash.git
npm install --save @anzerr/fs.hash
Example
const hash = require('fs.hash');
hash('./node_modules', {raw: true, max: 5, type: 'sha256'}).then((res) => {
console.log(res);
});