mirror of
https://github.com/swc-project/swc.git
synced 2024-12-30 17:15:11 +03:00
9 lines
217 B
TypeScript
9 lines
217 B
TypeScript
|
// Loaded from https://deno.land/x/case/snakeCase.ts
|
||
|
|
||
|
|
||
|
import normalCase from "./normalCase.ts";
|
||
|
|
||
|
export default function snakeCase(value: string, locale?: string): string {
|
||
|
return normalCase(value, locale, "_");
|
||
|
}
|