swc/crates/swc_bundler/tests/.cache/deno/7e6975a3e1e93bcf7fd065bd50aeb3ba090febed.ts
2021-11-09 20:42:49 +09:00

10 lines
274 B
TypeScript

// Loaded from https://deno.land/x/case/constantCase.ts
import upperCase from "./upperCase.ts";
import snakeCase from "./snakeCase.ts";
export default function constantCase(value: string, locale?: string): string {
return upperCase(snakeCase(value, locale), locale);
}