MCPcopy
hub / github.com/simoneb/axios-hooks / configToObject

Function configToObject

src/index.js:51–59  ·  view source on GitHub ↗
(config)

Source from the content-addressed store, hash-verified

49}
50
51function configToObject(config) {
52 if (typeof config === 'string') {
53 return {
54 url: config
55 }
56 }
57
58 return Object.assign({}, config)
59}
60
61export function makeUseAxios(configureOptions) {
62 /**

Callers 1

useAxiosFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…