@technobuddha/library
Version:
A large library of useful functions
15 lines (14 loc) • 383 B
TypeScript
declare type Options = {
/** The indentation character */
indenter?: string;
};
/**
* Indent each line of a string
*
* @param input The string to indent
* @param __namedParameters see {@Options}
* @default indenter space
* @returns string with each line indented
*/
export declare function indent(input: string, { indenter }?: Options): string;
export default indent;