hashicle-from-file

0.0.0 • Public • Published

hashicle-from-file

Generate hashes from files

Install

$ npm install --save hashicle-from-file

Usage

const hashicle = require('hashicle-from-file');
 
hashicle('my-file.ext').then((hash) => {
  // do something
});

API

hashicle(path, [algorithm, out])

path

Type: string

Your files path

algorithm

Type: string
Default: md5

Hashing algorithm

out

Type: string
Default: hex

Output format

License

MIT © Tobias Herber

Package Sidebar

Install

npm i hashicle-from-file

Weekly Downloads

0

Version

0.0.0

License

MIT

Last publish

Collaborators

  • tobihrbr