Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CamelCasePluginOptions

interface CamelCasePluginOptions {
maintainNestedObjectKeys?: boolean;
underscoreBeforeDigits?: boolean;
underscoreBetweenUppercaseLetters?: boolean;
upperCase?: boolean;
}

§Properties

§
maintainNestedObjectKeys?: boolean
[src]

If true, nested object's keys will not be converted to camel case.

Defaults to false.

§
underscoreBeforeDigits?: boolean
[src]

If true, an underscore is added before each digit when converting camelCase to snake_case. For example foo12Bar => foo_12_bar and foo_12_bar => foo12Bar

Defaults to false.

§
underscoreBetweenUppercaseLetters?: boolean
[src]

If true, an underscore is added between consecutive upper case letters when converting from camelCase to snake_case. For example fooBAR => foo_b_a_r and foo_b_a_r => fooBAR.

Defaults to false.

§
upperCase?: boolean
[src]

If true, camelCase is transformed into upper case SNAKE_CASE. For example fooBar => FOO_BAR and FOO_BAR => fooBar

Defaults to false.