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

13 lines
297 B
JavaScript
Raw Permalink Normal View History

2023-10-16 09:29:44 +08:00
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' ]
};