Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 754 Bytes

File metadata and controls

27 lines (20 loc) · 754 Bytes

Overview

Nano ID is a tiny, secure, URL-friendly unique string ID generator. It's 60% smaller than UUID and doesn't have dependencies. Perfect for generating unique keys in React applications.

Features

  • Tiny: Only 130 bytes (minified and gzipped)
  • Fast: 60% faster than UUID
  • Secure: Uses hardware random generator
  • Compact: Uses larger alphabet than UUID
  • URL-friendly: All symbols are URL-safe
  • No Dependencies: Zero dependencies
  • Custom Alphabet: Define your own symbols
  • TypeScript: Full type definitions

Use Cases

  • React component keys
  • Unique IDs for database records
  • Session tokens
  • File names
  • URL shorteners
  • Any unique identifier needs

Pricing

Free and open source (MIT License)