xunfeiAI/node_modules/axios/lib/platform/node/index.js

13 lines
297 B
JavaScript

import URLSearchParams from './classes/URLSearchParams.js'
import FormData from './classes/FormData.js'
export default {
isNode: true,
classes: {
URLSearchParams,
FormData,
Blob: typeof Blob !== 'undefined' && Blob || null
},
protocols: [ 'http', 'https', 'file', 'data' ]
};