Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

get-short-id

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-short-id - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

package.json
{
"name": "get-short-id",
"version": "1.0.2",
"version": "1.0.3",
"description": "Random ID generator function with options to provide prefix and character set. Uses UUID v4 as random string source.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -10,2 +10,4 @@ `npm i get-short-id`

// getId('prefix', 'character-set')
for(let i = 0; i < 10; i++) {

@@ -59,3 +61,3 @@ console.log(getId());

## Characters set
## Characters set (optional)

@@ -66,3 +68,3 @@ Default set of characters used to encode random id is this:

Yet you can provide your own as needed.
Yet you can provide your own as needed. You must provide at least 2 characters.

@@ -69,0 +71,0 @@ ```javascript

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc