Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 398 Bytes

README.md

File metadata and controls

31 lines (19 loc) · 398 Bytes

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