You can search for identifiers within the package.
in-package search v0.2.0
sqids
Sqids
type t
Represents the Sqids configuration. Can be created with make.
make
module Defaults : sig ... end
Contains the default configuration.
val make : ?alphabet:string -> ?min_length:int -> ?blocklist:string list -> unit -> t
make ?alphabet ?min_length ?blocklist () creates a new Sqids configuration with the provided parameters.
make ?alphabet ?min_length ?blocklist ()
val encode : t -> int list -> string
encode sqids ints encodes a list of numbers ints to a string identifier.
encode sqids ints
ints
val decode : t -> string -> int list
decode sqids id decodes a string identifier id to a list of numbers.
decode sqids id
id