UNPKG

@cloudinary/url-gen

Version:

Cloudinary URL-Gen SDK ========================= [![Build Status](https://api.travis-ci.com/cloudinary/js-url-gen.svg?branch=master)](https://app.travis-ci.com/github/cloudinary/js-url-gen) ## About The Cloudinary URL-Gen SDK allows you to quickly and eas

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;