Popularity
3.3
Stable
Activity
0.0
Stable
59
3
7

Programming language: Go
License: MIT License
Tags: UUID    
Latest version: v2.0.1

nanoid alternatives and similar packages

Based on the "UUID" category.
Alternatively, view nanoid alternatives based on common mentions on social networks and blogs.

  • xid

    xid is a globally unique id generator thought for the web
  • ulid

    Universally Unique Lexicographically Sortable Identifier (ULID) in Go
  • Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
    Promo www.influxdata.com
    InfluxDB Logo
  • sno

    Compact, sortable and fast unique IDs with embedded metadata.
  • Monoton

    Highly scalable, single/multi node, sortable, predictable and incremental unique id generator with zero allocation magic on the sequential generation
  • gouid

    Fast, dependable universally unique ids
  • goflake

    DISCONTINUED. A highly scalable and serverless unique ID generator for use in distributed systems. Written in GoLang. Inspired by Twitters Snowflake.
  • uniq

    No hassle safe, fast unique identifiers with commands.

Do you think we are missing an alternative of nanoid or a related project?

Add another 'UUID' Package

README

Nano ID GoDoc

A tiny and fast Go unique string generator

  • Safe. It uses cryptographically strong random APIs and tests distribution of symbols.
  • Compact. It uses a larger alphabet than UUID (A-Za-z0-9_-). So ID size was reduced from 36 to 21 symbols.
id, err := nanoid.New() //> "i25_rX9zwDdDn7Sg-ZoaH"
if err != nil {
    log.Fatalln(err)
}

Installation

Once Go is installed, run the following command to get Nano ID.

go get github.com/aidarkhanov/nanoid/v2

Documentation

The package reference is located at pkg.go.dev/github.com/aidarkhanov/nanoid/v2.

Roadmap

  • The API of this package is frozen.
  • Release patches if necessary.

License

This package is provided under MIT/Expat license. See LICENSE.md file for details.

Thanks to


*Note that all licence references and agreements mentioned in the nanoid README section above are relevant to that project's source code only.