create-random-id
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Installations

npm i create-id

What ?

An module to create random IDs

Why ?

  • Fast
  • Customizable

How ?

// Importing for Node JS
const { randomID } = require('create-id');
import { randomID } from 'create-id'; // for typescript

// filters
const length = 18; // length of the id
const type = "letter" || ["letter", "number","symbol"]; // types of symbol to use for our id

// Create a random ID
const id = randomID();
const id2 = randomID(length, type);

Support

for support or issues or queries contace me on my discord server or create a issue here.

/create-random-id/

    Package Sidebar

    Install

    npm i create-random-id

    Weekly Downloads

    4

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    4.68 kB

    Total Files

    6

    Last publish

    Collaborators

    • shisui