csv-hash

1.2.0 • Public • Published

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

/csv-hash/

    Package Sidebar

    Install

    npm i csv-hash

    Weekly Downloads

    1

    Version

    1.2.0

    License

    MIT

    Unpacked Size

    6.33 kB

    Total Files

    10

    Last publish

    Collaborators

    • sleavely