cohash
v1.1.1
Published
A simple tool to generate file hashes on the command line.
Downloads
7
Readme
cohash
cohash
is a simple command line to generate a hash value for files.
Install
pnpm add cohash -g
npm i cohash -g
Useage
cohash ./test.js -l 8 -o a.[hash].js
Flags
--output
or-o
:- Specify the address of the generated file. It will log the hash value to the terminal if there is no
--output
or-o
.
- Specify the address of the generated file. It will log the hash value to the terminal if there is no
--length
or-l
:- Limit the length of the hash value.
--stream
or-s
:- Default is
true
. Whether to read as a file stream.
- Default is