package nanoid

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

Module Nanoid_os.MakeSource

Make (Rng) is a Nano ID generator based on random number generator Rng

Parameters

module Rng : RNG

Signature

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

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

OCaml

Innovation. Community. Security.