superflected
Version:
A port of ActiveSupport's inflector to Node.js
13 lines (12 loc) • 363 B
TypeScript
export declare const parameterize: ((string: string, options?: {
locale?: string;
separator?: string | null;
preserveCase?: boolean;
}) => string) & {
cache: Map<string, string>;
populate: (string: string, options?: {
locale?: string;
separator?: string | null;
preserveCase?: boolean;
} | undefined) => string;
};