Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/developit/unfetch
/ index.mjs
File
index.mjs
src/index.mjs:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
export
default
function
(url, options) {
2
options = options || {};
3
return
new
Promise((resolve, reject) => {
4
const
request =
new
XMLHttpRequest();
Callers
nothing calls this directly
Calls
1
response
Function · 0.85
Tested by
no test coverage detected