Skip to content

A simple tool to generate file hashes on the command line.

License

Notifications You must be signed in to change notification settings

Yukiniro/cohash

Repository files navigation

cohash

NPM npm

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.
  • --length or -l:
    • Limit the length of the hash value.
  • --stream or -s:
    • Default is true. Whether to read as a file stream.

About

A simple tool to generate file hashes on the command line.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published