Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/grimmbraten/salty-system
A salty node package to quickly generate salted hashes for system UUIDs
https://github.com/grimmbraten/salty-system
cli generator hash polestar salt uuid
Last synced: 6 days ago
JSON representation
A salty node package to quickly generate salted hashes for system UUIDs
- Host: GitHub
- URL: https://github.com/grimmbraten/salty-system
- Owner: grimmbraten
- License: mit
- Created: 2021-12-15T08:37:20.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-19T06:43:30.000Z (over 1 year ago)
- Last Synced: 2023-12-26T19:01:44.788Z (11 months ago)
- Topics: cli, generator, hash, polestar, salt, uuid
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/salty-system
- Size: 77.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
A salty node package to quickly generate salted hashes for system UUIDs.
## Install
![npm](https://img.shields.io/npm/v/salty-system?style=flat&color=blue)
![NPM](https://img.shields.io/npm/l/salty-system?style=flat&color=blue)```bash
yarn global add salty-system
``````bash
npm install -g salty-system
```## Upgrade
![npms.io (maintenance)](https://img.shields.io/npms-io/maintenance-score/salty-system?style=flat&color=blue)
![GitHub last commit](https://img.shields.io/github/last-commit/grimmbraten/salty-system?style=flat&color=blue)
![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/grimmbraten/salty-system/latest/main?style=flat&color=blue)```bash
yarn global upgrade salty-system --latest
``````bash
npm update -g salty-system
```## Usage
```bash
# input
salty c2c5e1dc-7219-4450-9300-9013549b50c2# output (to clipboard)
$2a$10$6IaEwf2ch4eXonRnWrs2xOjYumgu7fLvnsj6ba/0cFvVhi.dCveGq
``````bash
# input
salty --id c2c5e1dc-7219-4450-9300-9013549b50c2 --name 'Salty user' --email '[email protected]'# output (to terminal)
{
"id": "c2c5e1dc-7219-4450-9300-9013549b50c2",
"name": "Salty user",
"email": "[email protected]",
"hash": "$2a$10$gQpghB5fjvSEXrYwwRdIjed0UCevdHHwYQ/UV2fli9IIIykx/PWMi"
}
``````bash
# 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
```bash
yarn global remove salty-system
``````bash
npm uninstall -g salty-system
```![GitHub Repo stars](https://img.shields.io/github/stars/grimmbraten/salty-system?style=social)
![npm](https://img.shields.io/npm/dt/salty-system?logo=npm&style=social)