package nanoid

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Nano ID generator

val nanoid : ?size:int -> unit -> string

nanoid ?size () generates a random Nano ID of size size, which defaults to 21.

OCaml

Innovation. Community. Security.