Socket
Socket
Sign inDemoInstall

myfetchapi

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

myfetchapi - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

dist/index.d.ts

10

package.json
{
"name": "myfetchapi",
"version": "1.0.0",
"version": "1.1.0",
"description": "mFetch is a JavaScript library that provides a utility function for making HTTP requests with queuing and retry functionality.",
"main": "index.js",
"types": "index.ts",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "esbuild index.ts --format=esm --bundle --outfile=index.js"
"build": "tsc && esbuild src/index.ts --format=esm --bundle --outfile=dist/index.js"
},

@@ -31,2 +31,2 @@ "repository": {

"homepage": "https://github.com/ugo-studio/myfetch#readme"
}
}

@@ -22,3 +22,3 @@ # myfetchapi

// Make a request
myFetch("https://example.com/api/data")
myFetch("https://example.com/api/data", { method: "GET" }, { maxRetry: 3 })
.then((response) => console.log(response))

@@ -25,0 +25,0 @@ .catch((error) => console.error(error));

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc