@ryancavanaugh/change-case
Version:
Type definitions for change-case from https://www.github.com/DefinitelyTyped/DefinitelyTyped
38 lines (36 loc) • 1.68 kB
TypeScript
// Type definitions for change-case
// Project: https://github.com/blakeembrey/change-case
// Definitions by: Asana <https://asana.com>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export function dot(s: string): string;
export function dotCase(s: string): string;
export function swap(s: string): string;
export function swapCase(s: string): string;
export function path(s: string): string;
export function pathCase(s: string): string;
export function upper(s: string): string;
export function upperCase(s: string): string;
export function lower(s: string): string;
export function lowerCase(s: string): string;
export function camel(s: string): string;
export function camelCase(s: string): string;
export function snake(s: string): string;
export function snakeCase(s: string): string;
export function title(s: string): string;
export function titleCase(s: string): string;
export function param(s: string): string;
export function paramCase(s: string): string;
export function pascal(s: string): string;
export function pascalCase(s: string): string;
export function constant(s: string): string;
export function constantCase(s: string): string;
export function sentence(s: string): string;
export function sentenceCase(s: string): string;
export function isUpper(s: string): boolean;
export function isUpperCase(s: string): boolean;
export function isLower(s: string): boolean;
export function isLowerCase(s: string): boolean;
export function ucFirst(s: string): string;
export function upperCaseFirst(s: string): string;
export function lcFirst(s: string): string;
export function lowerCaseFirst(s: string): string;