Skip to content

tienya/nano-uuid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nano-uuid

A db-friendly UUID generator, base36 encoded, 25 chars length.

Base on uuid.

Quickstart

  1. Install
npm install nano-uuid
  1. Create a UUID
const uuid = require('nano-uuid');
uuid.v4(); // => 6t23fgy3jbzeeinjna4uxb3gv

API

Refer to uuid

  • uuid.v1
  • uuid.v2
  • uuid.v4
  • uuid.v5

Releases

No releases published

Packages

No packages published