1.0.0 • Published 2 years ago

ezida v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Ezida

Generate short identifiers. EZ 😉.

Warning: Do not use this library for:

  • Authentication
  • Dynamically generated identifiers like user ids because this library saves used identifiers in the memory.

This library is suitable for:

  • Generating CSS classes
  • Generating HTML IDs

Usage

import createUID from "ezida";

const ID = createUID(
    minLen: Number?
); // This is where we store the IDs

ID.generate(); // Generate a new ID
1.0.0

2 years ago