1.2.0 • Published 1 year ago

@dreamworld/uuid-base62 v1.2.0

Weekly downloads
24
License
ISC
Repository
-
Last release
1 year ago

uuid-base62

A Base62 UUID generator.

base62 encoding/decoding is based on seruco/base62. Because, same is being used by our server code in java.

Install

npm install @dreamworld/uuid-base62

Usage

import { uuidBase62, toBase62, fromBase62 } from '@dreamworld/uuid-base62';

//To generate a new uuid in base62 format
let newBase62uuid = uuidBase62(); //Will return a string like '68S8PT4GInJDiFea3wQE8F'

//From regular UUID to base62 and vice versa
let uuid = 'da5e2434-1516-4ae4-a05c-afeaebc2219f';
let base62uuid= toBase62(uuid); // Will produce  '6e3LhWSeLvHYCEAn0fIMfP'
let parsedUuid = fromBase62(base62uuid); //Will produce back 'da5e2434-1516-4ae4-a05c-afeaebc2219f'
1.2.0

1 year ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.0-init.10

3 years ago

1.0.0-init.9

3 years ago

1.0.0-init.7

3 years ago

1.0.0-init.8

3 years ago

1.0.0-init.4

3 years ago

1.0.0-init.5

3 years ago

1.0.0-init.6

3 years ago

1.0.0

4 years ago

1.0.0-chetan.3

4 years ago

1.0.0-init1.1

4 years ago

1.0.0-chetan2.1

4 years ago

1.0.0-chetan2.2

4 years ago

1.0.0-chetan.2

4 years ago

1.0.0-chetan.1

4 years ago

1.0.0-init.3

4 years ago

1.0.0-init.2

4 years ago

1.0.0-init.1

4 years ago