@karmaniverous/get-dotenv
    Preparing search index...

    Function parseNonNegativeInt

    • Build a Commander option parser that coerces a raw string to a non-negative integer.

      Parameters

      • label: string

        Label used in error messages (e.g. "limit").

      Returns (raw: string) => number

      Parser suitable for Commander .option(..., parser).