https://github.com/roziscoding/random-bytes-cli
https://github.com/roziscoding/random-bytes-cli
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/roziscoding/random-bytes-cli
- Owner: roziscoding
- License: gpl-3.0
- Created: 2021-09-10T20:02:28.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-09-10T20:38:29.000Z (over 4 years ago)
- Last Synced: 2025-02-27T02:55:48.000Z (about 1 year ago)
- Language: JavaScript
- Size: 479 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
random-bytes-cli
---
Node.js module to generate random bytes using `crypto`'s module `randomBytes` function.
## Installation
```sh
$ npm install random-bytes-cli
```
## Usage
```sh
$ randombytes
```
- `size`: number of bytes to generate
- `format`: output format, one of `hex` or `base64`