@onesy/utils
Version:
14 lines (13 loc) • 385 B
TypeScript
export interface IOptions {
filters?: string[];
className?: boolean;
cammelCaseTransform?: boolean;
url?: boolean;
replaceWith?: string;
trim?: boolean;
capitalize?: boolean;
lowercase?: boolean;
}
export declare const optionsDefault: IOptions;
declare const cleanValue: (value_: string, options_?: IOptions) => string | any;
export default cleanValue;