swc/crates/swc_bundler/tests/.cache/deno/0ab31312a4d3ecab9cdf41f345e7e69882da7d3f.ts

10 lines
281 B
TypeScript
Raw Normal View History

// Loaded from https://deno.land/x/case@v2.1.0/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);
}