Description
: Creates integrity hash from the provided source.
Description
: Checks integrity hash against the provided source.
Alias
: -da
Description
: The algorithm to use for directory hashing.
Default
: sha512
Type
: string
Alias
: -e
Description
: The encoding to use for hashing.
Default
: base64
Type
: string
Alias
: -x
Description
: Files and/or directories paths to exclude.
Default
: []
Type
: array
Alias
: -fa
Description
: The algorithm to use for file hashing.
Default
: sha1
Type
: string
Alias
: -i
Description
: The integrity hash, JSON, file or directory path, to check against ([required] when 'manifest' option not specified).
Type
: string
Alias
: -m
Description
: The integrity hash gets persisted to, or read from, the project's manifest (package.json).
Default
: undefined
Type
: boolean
Alias
: -o
Description
: The directory path where to persist the created integrity file (ignored when 'manifest' option specified).
Type
: string
Alias
: -s
Description
: The path to the file or directory to hash.
Mandatory
: true
Type
: string
Alias
: -v
Description
: Verbosely create hashes of a directory.
Default
: false
Type
: boolean
Alias
: -st
Description
: Strictly compares names and contents.
Default
: false
Type
: boolean
Alias
: -h
Description
: Show help.
Alias
: -V
Description
: Show version number.