UNPKG

google-trends-api-client

Version:

An fully typed and easy to use client for the google trends api.

9 lines 478 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.defineCommonGoogleTrendsApiParametersValue = void 0; const defineCommonGoogleTrendsApiParametersValue = ({ tz, hl, }) => ({ hl: hl ?? 'en-US', tz: `${tz ?? 240}`, // default to 240; cast to string for url encoding }); exports.defineCommonGoogleTrendsApiParametersValue = defineCommonGoogleTrendsApiParametersValue; //# sourceMappingURL=defineCommonGoogleTrendsApiParametersValue.js.map