fixer-api
Version:
fixer.io API client in TypeScript
9 lines • 363 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = stringifyOptions;
function stringifyOptions(opts) {
return Object.entries(opts)
.map(([key, value]) => `${key}=${encodeURIComponent(`${value instanceof Array ? value.join(',') : value}`)}`)
.join('&');
}
//# sourceMappingURL=stringifyOptions.js.map