New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

uuid-key-generator

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uuid-key-generator - npm Package Compare versions

Comparing version

to
0.3.3

2

package.json
{
"name": "uuid-key-generator",
"version": "0.3.2",
"version": "0.3.3",
"description": "Generates random keys with custom size and base-encoding using the RFC4122 v4 UUID algorithm",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/nwoltman/uuid-token-generator/tree/key-generator",

# UUID Key Generator
#### This module has been deprecated in favour of [`uuid-token-generator`](https://www.npmjs.com/package/uuid-token-generator). Please note that there are [breaking changes](https://github.com/nwoltman/uuid-token-generator/releases/tag/v0.4.0) when upgrading to `uuid-token-generator`.
#### This module has been deprecated in favour of [uuid-token-generator](https://www.npmjs.com/package/uuid-token-generator). Please note that there are [breaking changes](https://github.com/nwoltman/uuid-token-generator/releases/tag/v0.4.0) when upgrading to `uuid-token-generator`.
#### However, you should probably use [uid-generator](https://www.npmjs.com/package/uid-generator) instead since it allows for more customization in the tokens it generates and does not produce overlapping UIDs.
---

@@ -40,5 +42,5 @@

| Param | Default | Type | Description |
|-------|---------|------|-------------|
| [bitSize] | `128` | Number | The size of the key to generate in bits. Must be a multiple of 128. |
| [baseEncoding] | `KeyGenerator.BASE58` | String | One of the `KeyGenerator.BASE##` constants or a custom string of characters to use to encode the key. |
|:------|:--------|:-----|:------------|
| [bitSize] | `128` | number | The size of the key to generate in bits. Must be a multiple of 128. |
| [baseEncoding] | `KeyGenerator.BASE58` | string | One of the `KeyGenerator.BASE##` constants or a custom string of characters to use to encode the key. |

@@ -45,0 +47,0 @@ **Example**