UNPKG

@cloudinary/url-gen

Version:

You are invited to influence our new SDK [Click here to view github discussion](https://github.com/cloudinary/js-url-gen/discussions/602) =========================

10 lines (9 loc) 360 B
/** * @private * @description Adds left padding to a string with the desired substring the provided number of times * @example stringPad(foo, 3, 'a'') // -> aaafoo * @param {string} value * @param {number} _targetLength * @param {string} _padString */ export declare function stringPad(value: string, _targetLength: number, _padString: string): string;