utilitish - v0.0.10
    Preparing search index...
    Index

    Constructors

    Properties

    customReplacements: Record<string, string> = {}
    separator: string = '-'
    case: "upper" | "lower" | "default" = 'lower'
    removeAccents: boolean = true
    allowedChars?: RegExp
    maxLength?: number
    transformers: ((str: string) => string)[] = []

    Methods

    • Parameters

      • replacements: Record<string, string>

      Returns this

    • Parameters

      • caseValue: "upper" | "lower" | "default"

      Returns this

    • Parameters

      • transformers: ((str: string) => string)[]

      Returns this