codetrix - v1.5.0
    Preparing search index...

    Function snakeCase

    • Converts a string to snake_case format.

      Parameters

      • str: string

        The string to convert.

      Returns string

      The snake_cased string.

      snakeCase('Hello World'); // 'hello_world'