{"library":"vue-resource","type":"library","category":null,"description":"vue-resource is an HTTP client plugin for Vue.js, designed for making web requests and handling responses using XMLHttpRequest or JSONP. It supports the Promise API, URI Templates, and interceptors for both requests and responses. The package, currently at version 1.5.3 (last updated in 2021), was primarily built for Vue 1.x and Vue 2.x applications. It boasts compatibility with modern browsers (Firefox, Chrome, Safari, Opera, IE9+) and a compact size (14KB, 5.3KB gzipped). While it was once considered a de-facto 'official' HTTP client, its maintenance has largely ceased, especially with the advent of Vue 3, which encourages the use of alternatives like Axios or the native Fetch API. Its release cadence was irregular towards the end of its active lifecycle, with its last update occurring several years ago.","language":"javascript","status":"abandoned","version":"1.5.3","tags":["javascript","vue","xhr","http","ajax","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install vue-resource","imports":["import VueResource from 'vue-resource';\nVue.use(VueResource);","this.$http.get('/someUrl').then(response => {\n  // ...\n});","import VueResource from 'vue-resource';\n// In a TypeScript file where Vue.$http type needs augmentation\ndeclare module 'vue/types/vue' {\n  interface Vue {\n    $http: typeof VueResource.http;\n  }\n}"]},{"cmd":"yarn add vue-resource","imports":[]},{"cmd":"pnpm add vue-resource","imports":[]}],"homepage":null,"github":"https://github.com/pagekit/vue-resource","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vue-resource","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/vue-resource/compatibility"}}