4.0.0 • Published 1 year ago

subtree-checksum v4.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

subtree-checksum

Creates a SHA256 checksum of a subtree, either as a cli command:

# Create a hash of the files foo.txt and bar.txt
npx subtree-checksum foo.txt bar.txt

# Create a hash of all files in the current directory
npx subtree-checksum .

# or
npx subtree-checksum

# Skip node_modules and .git
npx subtree-checksum --skip=.git,node_modules

or in code:

import subtreeChecksum from "subtree-checksum";

console.log(subtreeChecksum("."));
4.0.0

1 year ago

3.0.0

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

1.0.0

1 year ago