polish-uuid
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

Polish-uuid

id generator with polish alphabet for javascript

Install

npm install polish-uuid

OR

yarn add polish-uuid

Usage

import { polishId } from "polish-uuid";

console.log(polishId()); //=> "yg0Ź3bgoŻęŹmcQcQ9nTPW2"

API

In default, the length of the id is 22.The length is a number between 22-50, otherwise it generates an id with a length of 22.

polishId(length: number): string

import { polishId } from "polish-uuid";
console.log(polishId()); // => the length of id is 22
import { polishId } from "polish-uuid";
console.log(polishId(33)); // => the length of id is 33
import { polishId } from "polish-uuid";
console.log(polishId(100)); // => the length of id is 22
import { polishId } from "polish-uuid";
console.log(polishId(-1)); // => the length of id is 22

/polish-uuid/

    Package Sidebar

    Install

    npm i polish-uuid

    Weekly Downloads

    0

    Version

    1.0.5

    License

    ISC

    Unpacked Size

    3.83 kB

    Total Files

    6

    Last publish

    Collaborators

    • mhmtdm