{"library":"bs-fetch","type":"library","category":null,"description":"Low-level OCaml/ReasonML bindings to the Fetch API for BuckleScript (Belt/bs-platform). Current stable version is 0.6.2, last released in 2019. The package provides thin, type-safe bindings to fetch, Response, Headers, Request, AbortController, and FormData. It targets BuckleScript 5+ and is intended as a foundation for higher-level libraries. Unlike many other fetch bindings, it follows the ML naming conventions (e.g., `Response.type_` instead of `Response._type`) and requires a polyfill in Node.js. The package is no longer actively maintained; users should consider migrating to newer solutions like `promise-fetch` or direct `Js.Promise` + `fetch`.","language":"javascript","status":"maintenance","version":"0.6.2","tags":["javascript","fetch","browser","xhr","bucklescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install bs-fetch","imports":["let fetch = Fetch.fetch;","open Fetch;\nlet response = Response.make();","open Fetch;\nlet headers = Headers.make();","open Fetch;\nlet formData = FormData.make();"]},{"cmd":"yarn add bs-fetch","imports":[]},{"cmd":"pnpm add bs-fetch","imports":[]}],"homepage":"https://github.com/reasonml-community/bs-fetch#readme","github":"https://github.com/reasonml-community/bs-fetch","docs":null,"changelog":null,"pypi":null,"npm":"bs-fetch","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}