1.2.0 • Published 5 years ago

csv-hash v1.2.0

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

csv-hash

Hashes values in a CSV

Github | NPM

Install

$ npm i -g csv-hash

Node 10+ is recommended.

Usage

$ csv-hash --help

  Usage
    $ csv-hash <inputFile> [<outputFile>]

  Appends a column with a hashed version of a CSV value.
  If outputFile is not specified, inputFile is used.

  Options
    --help
    --from         Name of the column to hash from [email]
    --to           Name of the column to append [hashedEmail]
    --algorithm    Algorithm to use for hashing [sha512]
    --prefix       Optional salt to prefix values with
    --suffix       Optional salt to suffix values with
    --hmac         HMAC key to generate a HMAC instead of hash

  For more information, see:
  https://github.com/Sleavely/csv-hash
1.2.0

5 years ago

1.1.0

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago