[go: nahoru, domu]

Skip to content

interest-protocol/tokens

Repository files navigation

@interest-protocol/tokens

A library for unique code generation

Install

For npm:

npm i unikey

For yarn:

yarn add unikey

For pnpm:

pnpm add unikey

Usage

import unikey from 'unikey';

const key = unikey(); // enf5a8t9

// ...

With length

import unikey from 'unikey';

const key = unikey(16); // tcmd6gud23ga2f5p

// ...

With Options

import unikey from 'unikey';

const mixedKey = unikey(16, { case: 'mixed' }); // riQTUuoZ3iV9RQEH
const upperKey = unikey(16, { case: 'upper' }); // IAYNLQD8T3DJ63GR

// ...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published