{"library":"fetch-on-rest","type":"library","category":null,"description":"A lightweight RESTful API wrapper around window.fetch for browser and React Native environments. Version 2.0.4 focuses on simplicity: no Babel or ES2015 dependencies, making it smoother for React Native. It automatically handles JSON headers and responses, and offers methods like get, post, put, patch, del, and rawGet. The library uses URI.js for robust URL parsing. It is best suited for simple REST API interactions where manual fetch configuration is unwanted.","language":"javascript","status":"active","version":"2.0.4","tags":["javascript","Fetch","react","react-native","REST"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install fetch-on-rest","imports":["import Rest from 'fetch-on-rest'","const Rest = require('fetch-on-rest')","new Rest('/api')"]},{"cmd":"yarn add fetch-on-rest","imports":[]},{"cmd":"pnpm add fetch-on-rest","imports":[]}],"homepage":"https://github.com/pratyushmittal/fetch-on-rest#readme","github":"https://github.com/pratyushmittal/fetch-on-rest","docs":null,"changelog":null,"pypi":null,"npm":"fetch-on-rest","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}