jummy

0.4.1 • Public • Published

jummy

Get the combined hash of multiple files

Build Status Code Quality Code Coverage NPM Version

Install

$ npm install --save jummy

Usage

var jummy = require('jummy');
 
jummy(['some/path/*.*', '!some/path/*.txt']).then(console.log);
//=> 'a86b4ef32bb32dfcfbf2ef4dae613863'

API

jummy(globs, [options])

globs

Type: string|string[]

May contain paths to directories or globs

options

algorithm

Type: string
Default: md5

CLI

$ npm install --global jummy
$ jummy --help

  Usage
    jummy [globs..]

  Options
    --algorithm [Default: md5]

  Examples
    $ jummy
    0b63e050cfd788c70b0d3b3fc630b535
    $ jummy 'some/path' '!some/path/*.jpg' --algorithm sha256
    b707377cece8097eae0ecb79ce69404786d2fb3d893f8dd4ff38d1dab9ee156f

License

MIT © JM Versteeg

dependency Status devDependency Status

Package Sidebar

Install

npm i jummy

Weekly Downloads

1

Version

0.4.1

License

MIT

Last publish

Collaborators

  • jmversteeg