UNPKG

@shaivpidadi/trends-js

Version:
26 lines (25 loc) 1.37 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.GoogleTrendsApi = exports.relatedData = exports.relatedQueries = exports.relatedTopics = exports.interestByRegion = exports.explore = exports.autocomplete = exports.realTimeTrends = exports.dailyTrends = void 0; const googleTrendsAPI_js_1 = require("./helpers/googleTrendsAPI.js"); Object.defineProperty(exports, "GoogleTrendsApi", { enumerable: true, get: function () { return googleTrendsAPI_js_1.GoogleTrendsApi; } }); const api = new googleTrendsAPI_js_1.GoogleTrendsApi(); exports.dailyTrends = api.dailyTrends.bind(api); exports.realTimeTrends = api.realTimeTrends.bind(api); exports.autocomplete = api.autocomplete.bind(api); exports.explore = api.explore.bind(api); exports.interestByRegion = api.interestByRegion.bind(api); exports.relatedTopics = api.relatedTopics.bind(api); exports.relatedQueries = api.relatedQueries.bind(api); exports.relatedData = api.relatedData.bind(api); // Default export for CommonJS compatibility exports.default = { dailyTrends: exports.dailyTrends, realTimeTrends: exports.realTimeTrends, autocomplete: exports.autocomplete, explore: exports.explore, interestByRegion: exports.interestByRegion, relatedTopics: exports.relatedTopics, relatedQueries: exports.relatedQueries, relatedData: exports.relatedData };