url-lib
Version:
A simple, lightweight string utility for Node and browsers that supports serializing and parsing URLs and query strings.
9 lines (8 loc) • 304 B
TypeScript
/**
* Returns a string value (generated using the time and a random number)
* that can be used as a query parameter value to cause a URL to be
* unique in order to defeat caching.
* @returns {string} Cache defeat string
*/
declare const getCacheDefeatStr: () => string;
export default getCacheDefeatStr;