Stone.js API
    Preparing search index...

    Options for retrieving environment variables.

    interface Options {
        default?: any;
        enums?: string[];
        format?: "url" | "email" | "host";
        optional?: boolean;
        protocol?: boolean;
        separator?: string;
        tld?: boolean;
        type?:
            | "string"
            | "number"
            | "boolean"
            | "object"
            | "json"
            | "url"
            | "array"
            | "enum"
            | "email"
            | "host";
    }
    Index
    default?: any

    The default value if the environment variable is not set.

    enums?: string[]

    An array of allowed values for enum types.

    format?: "url" | "email" | "host"

    The format of the environment variable if it's a string. Can be 'url', 'host', or 'email'.

    optional?: boolean

    Whether the environment variable is optional.

    protocol?: boolean

    Whether a protocol is required for URLs.

    separator?: string

    The separator for parsing array or object values (default is ',').

    tld?: boolean

    Whether a top-level domain is required for URLs or emails.

    type?:
        | "string"
        | "number"
        | "boolean"
        | "object"
        | "json"
        | "url"
        | "array"
        | "enum"
        | "email"
        | "host"

    The type of the environment variable. Can be 'number', 'boolean', 'array', 'object', 'json', 'enum', 'email', 'host', 'url', or 'string'.