Options
All
  • Public
  • Public/Protected
  • All
Menu

Module Strings/Inflector/inflectToSlug

Index

Variables

Const TransliterationReplacements

TransliterationReplacements: (string | RegExp)[][] = ...

Functions

inflectToSlug

  • inflectToSlug(string: string): string
  • Converts a "Given string" to "Given-string" or "another.String-you wouldWant" to "another-string-you-would-want". But in addition to that, it will convert "Annahäuser_Römertopf.jpg" into "annahaeuser-roemertopf-jpg"

    Parameters

    • string: string

    Returns string

unifyTransliterations

  • unifyTransliterations(string: string): string

Generated using TypeDoc