This package has been deprecated

Author message:

no longer supported

@dags/uid-local
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

UID for local use - implemented as a counter.

It is specialized for the cases that do not require global uniqueness, but require memory savings and speed.

Usage

import { UIDLocal } from '@dags/core'

const uid1 = new UIDLocal()
const uid2 = new UIDLocal()

console.log(uid1)
console.log(uid2)
console.log(uid1.equals(uid2))

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i @dags/uid-local

    Weekly Downloads

    1

    Version

    0.2.0

    License

    MIT

    Unpacked Size

    13.1 kB

    Total Files

    20

    Last publish

    Collaborators

    • alexanderlapygin