Skip to content

Various implementations of UID (Unique Identifier)

License

Notifications You must be signed in to change notification settings

AlexanderLapygin/uids

Repository files navigation

Various implementations of UID (Unique IDentifier)


GitHub issues MIT License


Installing

To use UIDs modules, all you need to do is install the @uids/uids package:

$ yarn add @uids/uid

# or

$ npm install @uids/uids

Usage

At the moment, the library provides the following modules:

  • uid
  • uid-local
  • uid-uuid
  • uid-nano

For example, you can use the uid-uuid module like this:

import { UUID } from '@uids/uid-uuid'

const uuid1 = new UUID()
const uuid2 = new UUID()

console.log(uuid1.equals(uuid2)) // produces 'false'

License

MIT © Alexander Lapygin

About

Various implementations of UID (Unique Identifier)

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published