@gentrace/core
Version:
Core Gentrace Node.JS library
11 lines (10 loc) • 350 B
TypeScript
/**
* Build a URL by appending params to the end
*
* @param {string} url The base of the url (e.g., http://www.google.com)
* @param {object} [params] The params to be appended
* @param {?object} options
*
* @returns {string} The formatted url
*/
export default function buildURL(url: string, params?: object, options: object | null): string;