UNPKG

spotify-now

Version:
16 lines 624 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getSpotifyApi = void 0; const tslib_1 = require("tslib"); const spotify_web_api_node_1 = (0, tslib_1.__importDefault)(require("spotify-web-api-node")); function getSpotifyApi(clientId, clientSecret) { return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () { return new spotify_web_api_node_1.default({ clientId, clientSecret, redirectUri: "http://localhost:6969", }); }); } exports.getSpotifyApi = getSpotifyApi; //# sourceMappingURL=getSpotifyApi.js.map