Skip to main content
Home

@mps/duid@0.0.1

latest

The Developer UID Generator is designed to create unique identifiers for developers. It supports multiple UID formats, integrates with developer profiles, and offers encryption for secure UID management.

This package works with Cloudflare Workers, Node.js, DenoIt is unknown whether this package works with Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with Browsers
JSR Score
100%
Published
a year ago (0.0.1)

Developer UID Generator

The Developer UID Generator is a Deno package designed to create unique identifiers for developers. It supports multiple UID formats, integrates with developer profiles, and offers encryption for secure UID management.

Features

  • Multiple UID Formats: Generate UIDs in various formats, including UUIDv4, NanoID, and custom formats.
  • Profile Integration: Create developer profiles from user input or fetch from external sources.
  • Encryption: Secure UIDs using AES-GCM encryption.
  • Extensible: Easily add new UID formats or integrate with additional profile sources.

Installation

To use this package, import it directly from Deno's third-party module repository:

import { DeveloperUID, UIDFormat, generateKey, encrypt, decrypt } from "jsr :@mps/duid;

Usage

Basic Usage

Create a DeveloperUID instance and generate a UID:

import { DeveloperUID, UIDFormat } from "jsr:@mps/duid";
const devUID = new DeveloperUID("Jane Doe", "jane.doe@example.com");
const uid = devUID.generateUID("UUIDv4");
console.log(Generated UID: ${uid});

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@mps/duid

Import symbol

import * as duid from "@mps/duid";
or

Import directly with a jsr specifier

import * as duid from "jsr:@mps/duid";

Add Package

pnpm i jsr:@mps/duid
or (using pnpm 10.8 or older)
pnpm dlx jsr add @mps/duid

Import symbol

import * as duid from "@mps/duid";

Add Package

yarn add jsr:@mps/duid
or (using Yarn 4.8 or older)
yarn dlx jsr add @mps/duid

Import symbol

import * as duid from "@mps/duid";

Add Package

vlt install jsr:@mps/duid

Import symbol

import * as duid from "@mps/duid";

Add Package

npx jsr add @mps/duid

Import symbol

import * as duid from "@mps/duid";

Add Package

bunx jsr add @mps/duid

Import symbol

import * as duid from "@mps/duid";