{"library":"xtal-fetch","type":"library","category":null,"description":"Vanilla web component wrapper around the native fetch API, inspired by Polymer's iron-ajax but with zero legacy dependencies and full ES6 module support. Current stable version is 0.0.108, with frequent updates. Key differentiators: lightweight (~2KB minzipped), works with any framework or no framework, supports Polymer-style template bindings, debouncing, base URL via link rel=preconnect, and a lite variant for minimal overhead. Breaks down into three subcomponents (xtal-fetch-lite, xtal-fetch, xtal-fetch.js) to reduce bundle size. Ships TypeScript types.","language":"javascript","status":"active","version":"0.0.108","tags":["javascript","fetch","rest","web-components","custom-elements","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install xtal-fetch","imports":["import 'xtal-fetch/xtal-fetch.js';","import 'xtal-fetch/xtal-fetch-lite.js';","<script src=\"https://unpkg.com/xtal-fetch@0.0.97/xtal-fetch.js?module\"></script>","customElements.define('xtal-fetch', XtalFetch);"]},{"cmd":"yarn add xtal-fetch","imports":[]},{"cmd":"pnpm add xtal-fetch","imports":[]}],"homepage":"https://github.com/bahrus/xtal-fetch#readme","github":"https://github.com/bahrus/xtal-fetch","docs":null,"changelog":null,"pypi":null,"npm":"xtal-fetch","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}