Skip to content

conversion-library / changeCase / snakeCase

Function: snakeCase()

ts
function snakeCase(input: string, options?: Options): string

Convert a string to snake case (foo_bar).

Parameters

input: string

options?: Options

Returns

string

Defined in

node_modules/change-case/dist/index.d.ts:75