Core Module
Contains simple functions for generating 'nano identifier' strings (a simple alternative to things like 'Universal Unique Identifiers').
Nested modules
| Modules | Description |
|
Pre-defined alphabets commonly used to generate identifiers. |
|
|
Defines the recommended set of characters and output length for optimally generating nano identifier strings. |
|
|
Contains primitives for generating identifiers which are "tagged" with a discriminator (useful for managing lots of string which have different purposes, but where using a full CLR type is undesirable). |
Functions and values
| Function or value |
Description
|
||
Full Usage:
nanoId ()
Parameters:
unit
Returns: string
|
Generates a new identifier with the default alphabet and size.
When viewed from other languages, this function is named
|
||
Full Usage:
nanoIdOf alphabet size
Parameters:
string
size : int
Returns: string
|
Generates a new identifier,
When viewed from other languages, this function is named
|
ananoid