{"library":"simple-json-fetch","type":"library","category":null,"description":"A lightweight wrapper around the WHATWG fetch() API that automatically parses JSON responses and resolves only for successful HTTP status codes (200-299) with valid JSON. Version 1.0.1 is the latest and only stable version. It has zero runtime dependencies but expects a fetch polyfill in environments without native fetch. Unlike raw fetch, it simplifies JSON handling by providing a resolved `.json` property on success and an `.error` property on rejection. Suitable for projects where you want concise JSON fetching without manual response parsing.","language":"javascript","status":"active","version":"1.0.1","tags":["javascript","whatwg","fetch","json"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install simple-json-fetch","imports":["import jsonFetch from 'simple-json-fetch'","import jsonFetch from 'simple-json-fetch'","import 'whatwg-fetch'"]},{"cmd":"yarn add simple-json-fetch","imports":[]},{"cmd":"pnpm add simple-json-fetch","imports":[]}],"homepage":"https://github.com/MoOx/simple-json-fetch#readme","github":"https://github.com/MoOx/simple-json-fetch","docs":null,"changelog":null,"pypi":null,"npm":"simple-json-fetch","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}