Ira Fetch - Vanilla JS Fetch API wrapper with goodies π
Ira Fetch: Vanilla JS Fetch API wrapper with goodies π
Irajs is a small ~ 3kb function which enhances current Fetch API with more, more goodies. Ira code isnβt chopped, replaced with random chars or similar on .min.js version, itβs just minified.
Ira goodies include debug logs, persistent settings and custom currying to request functions with a set of options. The little wrapper tries to function using current JS Engine features, no babel or typescript used just plain vanilla Javascript.
npm install irajs
yarn add irajs
<script src="https://d3portillo.github.io/ira/src/index.min.js"></script>
import ira from "irajs"
// Requires
const ira = require("irajs")
// Start playing around
ira.get("/stuff")
observablehq.com/@d3portillo/ira-fetch-wrapper