SYNOPSIS
recursively hash all the files in a specified path. Ensure hashing happens
in a predictable order. Appreciate .ignore
glob files
& patterns
.
USAGE
Uses sha1
by default; use openssl list-message-digest-algorithms
for a list of supported algorithms.
lib
var hashd = var hash = console
cli
npm install hashd -ghashd ./path --algorithm sha1 --files '.gitignore .npmignore' --patterns '*.gz'
OPTIONS
CLI options and api options are the same. First argument is a path.