mirror of
https://github.com/swc-project/swc.git
synced 2024-12-23 05:32:09 +03:00
9 lines
244 B
TypeScript
9 lines
244 B
TypeScript
// Loaded from https://deno.land/x/cliffy@v0.12.1/packages/x/snakeCase.ts
|
|
|
|
|
|
import normalCase from './normalCase.ts';
|
|
|
|
export default function snakeCase( value: string, locale?: string ): string {
|
|
return normalCase( value, locale, '_' );
|
|
}
|