UNPKG

fexios

Version:

Fetch based HTTP client with similar API to axios for browser and Node.js

46 lines (41 loc) 1.73 kB
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); const fexios$1 = require('./fexios.cjs'); const models_index = require('./models/index.cjs'); const utils_index = require('./utils/index.cjs'); const isPlainObject = require('./shared/fexios.C6EYiGQl.cjs'); /** * Fexios * @desc Fetch based HTTP client with similar API to axios for browser and Node.js * * @license MIT * @author dragon-fish <dragon-fish@qq.com> */ const createFexios = fexios$1.Fexios.create; const fexios = createFexios(); exports.Fexios = fexios$1.Fexios; exports.FexiosError = models_index.FexiosError; exports.FexiosErrorCodes = models_index.FexiosErrorCodes; Object.defineProperty(exports, "FexiosHeaderBuilder", { enumerable: true, get: function () { return models_index.FexiosHeaderBuilder; } }); Object.defineProperty(exports, "FexiosQueryBuilder", { enumerable: true, get: function () { return models_index.FexiosQueryBuilder; } }); exports.FexiosResponse = models_index.FexiosResponse; exports.FexiosResponseError = models_index.FexiosResponseError; exports.createFexiosEventSourceResponse = models_index.createFexiosEventSourceResponse; exports.createFexiosResponse = models_index.createFexiosResponse; exports.createFexiosWebSocketResponse = models_index.createFexiosWebSocketResponse; exports.isFexiosError = models_index.isFexiosError; exports.CallableInstance = utils_index.CallableInstance; exports.deepMerge = utils_index.deepMerge; exports.checkIsPlainObject = isPlainObject.isPlainObject; exports.clone = isPlainObject.clone; exports.isPlainObject = isPlainObject.isPlainObject; exports.createFexios = createFexios; exports.default = fexios; exports.fexios = fexios; //# sourceMappingURL=index.cjs.map