JSPM

httpease-fetch

1.1.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q7545F
  • License MIT

HTTP client based on the Fetch API

Package Exports

  • httpease-fetch

Readme

Examples usage

import ease from "ease";

const response = await ease("https://example.com");
const response2 = await ease.get("https://example.com");
const response3 = await ease.post("https://example.com", {
  body: JSON.stringify({ test: 999 }),
  header: {
    "my-header": null,
  },
});
const response4 = await ease("https://example.com", {
  method: "delete",
});