@cloudinary/url-gen
Version:
Cloudinary URL-Gen SDK ========================= [](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) • 369 B
TypeScript
/**
* @private
* @description Reverses the version positions, x.y.z turns to z.y.x
* Pads each segment with '0' so they have length of 2
* Example: 1.2.3 -> 03.02.01
* @param {string} semVer Input can be either x.y.z or x.y
* @return {string} in the form of zz.yy.xx (
*/
export declare function reverseVersion(semVer: string): string;