11.2.2 • Published 8 months ago
stein-fetch v11.2.2
Fetch cursor
import fetch from 'stein-fetch'
// Create cursor using the same options as `fetch`
const fetchCursor = fetch(url, {
headers: {
'Content-Type': 'application/json',
}
})
// Modify the request if desired
fetchCursor.setHeaders({
['x-some-header']: 'yep',
})
// Call toJS to get the fetch result
const res = await fetchCursor.toJS()
11.2.2
8 months ago
11.0.0
1 year ago
10.0.0
1 year ago
9.0.0-rc.6
2 years ago
8.0.13
2 years ago
9.0.0
2 years ago
9.0.0-rc.4
2 years ago
9.0.0-rc.2
2 years ago
8.0.12
2 years ago
8.0.6
2 years ago
8.0.5
2 years ago
8.0.4
2 years ago