kasi
Version:
A collection of functions for working with different casings.
29 lines (28 loc) • 1.4 kB
TypeScript
import isCamelCase from './is_camel_case.js';
import isConstantCase from './is_constant_case.js';
import isDotCase from './is_dot_case.js';
import isKebabCase from './is_kebab_case.js';
import isLowerCase from './is_lower_case.js';
import isPascalCase from './is_pascal_case.js';
import isPathCase from './is_path_case.js';
import isSnakeCase from './is_snake_case.js';
import isTitleCase from './is_title_case.js';
import isUpperCase from './is_upper_case.js';
import toCamelCase from './to_camel_case.js';
import toConstantCase from './to_constant_case.js';
import toDotCase from './to_dot_case.js';
import toKebabCase from './to_kebab_case.js';
import toLowerCase from './to_lower_case.js';
import toPascalCase from './to_pascal_case.js';
import toPathCase from './to_path_case.js';
import toSnakeCase from './to_snake_case.js';
import toTitleCase from './to_title_case.js';
import toUpperCase from './to_upper_case.js';
import apply from './apply.js';
import copy from './copy.js';
import detect from './detect.js';
import type { Casing } from './types.js';
export { isCamelCase, isConstantCase, isDotCase, isKebabCase, isLowerCase, isPascalCase, isPathCase, isSnakeCase, isTitleCase, isUpperCase };
export { toCamelCase, toConstantCase, toDotCase, toKebabCase, toLowerCase, toPascalCase, toPathCase, toSnakeCase, toTitleCase, toUpperCase };
export { apply, copy, detect };
export type { Casing };