salty-system

1.1.0 • Public • Published

A salty node package to quickly generate salted hashes for system UUIDs.

Install

npm NPM

yarn global add salty-system
npm install -g salty-system

Upgrade

npms.io (maintenance) GitHub last commit GitHub commits since latest release (by date)

yarn global upgrade salty-system --latest
npm update -g salty-system

Usage

# input
salty c2c5e1dc-7219-4450-9300-9013549b50c2

# output (to clipboard)
$2a$10$6IaEwf2ch4eXonRnWrs2xOjYumgu7fLvnsj6ba/0cFvVhi.dCveGq
# input
salty --id c2c5e1dc-7219-4450-9300-9013549b50c2 --name 'Salty user' --email 'salty@domain.com'

# output (to terminal)
{
  "id": "c2c5e1dc-7219-4450-9300-9013549b50c2",
  "name": "Salty user",
  "email": "salty@domain.com",
  "hash": "$2a$10$gQpghB5fjvSEXrYwwRdIjed0UCevdHHwYQ/UV2fli9IIIykx/PWMi"
}
# input
salty --copy --id c2c5e1dc-7219-4450-9300-9013549b50c2 --name 'Salty clipboard'

# output (to clipboard)
{
  "id": "c2c5e1dc-7219-4450-9300-9013549b50c2",
  "name": "Salty clipboard",
  "hash": "$2a$10$gQpghB5fjvSEXrYwwRdIjed0UCevdHHwYQ/UV2fli9IIIykx/PWMi"
}

Uninstall

yarn global remove salty-system
npm uninstall -g salty-system

GitHub Repo stars npm

Package Sidebar

Install

npm i salty-system

Weekly Downloads

0

Version

1.1.0

License

MIT

Unpacked Size

5.05 kB

Total Files

6

Last publish

Collaborators

  • grimmbraten