{"_id":"@cailir/vue-requests","_rev":"1-7e6cbce31dd8591491afe445759605a2","name":"@cailir/vue-requests","dist-tags":{"latest":"1.5.1"},"versions":{"1.5.1":{"name":"@cailir/vue-requests","version":"1.5.1","main":"dist/vue-requests.common.js","module":"dist/vue-requests.esm.js","unpkg":"dist/vue-requests.min.js","jsdelivr":"dist/vue-requests.min.js","typings":"types/index.d.ts","description":"The HTTP client for Vue.js","homepage":"https://github.com/cailir/vue-requests/","license":"MIT","keywords":["vue","xhr","http","ajax"],"bugs":{"url":"https://github.com/cailir/vue-requests/issues"},"repository":{"type":"git","url":"git+https://github.com/cailir/vue-requests.git"},"scripts":{"up":"yarn upgrade-interactive --latest","test":"jest --env=node","karma":"karma start test/karma.conf.js --single-run","build":"node build/build.js","release":"node build/release.js","webpack":"webpack --config test/webpack.config.js"},"browser":{"got":false},"dependencies":{"got":"^8.0.3"},"devDependencies":{"@babel/core":"^7.2.2","@babel/preset-env":"^7.2.0","babel-loader":"^8.0.4","eslint":"^5.11.1","generate-release":"^1.1.1","jasmine":"^3.3.1","jasmine-core":"^3.3.0","jest":"^23.6.0","karma":"^3.1.4","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-jasmine":"^2.0.1","karma-safari-launcher":"^1.0.0","karma-webpack":"^3.0.5","replace-in-file":"^3.4.2","rollup":"^0.66.0","rollup-plugin-babel":"^4.1.0","rollup-plugin-replace":"^2.1.0","uglify-js":"^3.4.9","vue":"^2.5.21","webpack":"^4.28.3","webpack-cli":"^3.1.2"},"directories":{"doc":"docs","test":"test"},"author":{"name":"cailirdev Team"},"gitHead":"62b2243d2ed46d38c73a90893330b251c854a527","_id":"@cailir/vue-requests@1.5.1","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-EStztCuHkVqcW+8kPr/wNc9gDoCVc4XJFaEdoUzhUzoe1AkB4uhEeBKyaJIR86XAMBdirppZHlRc1+XXAyJtyw==","shasum":"7da0ea1bd9c3bff926595301abc2119b901c9ebe","tarball":"https://registry.npmjs.org/@cailir/vue-requests/-/vue-requests-1.5.1.tgz","fileCount":56,"unpackedSize":195972,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfmy7XCRA9TVsSAnZWagAA8EsP/2EtUKZNAaG/wR5Cqgwc\nAW/EyLR0XmT0QV2yyvyQGK1y9ga/TW+nFUUi/j7fnDuEypDZ9pT++I36atHE\nBFVP5CoMMpdxJzIf4Zn/EEjOVP3Ut3AngzkQx5vETau5MDnMJ7x4L6IRYK9Z\nb2PWYSfNmAzPYjhDHDVL7noJryuDUMyxnqMfWZMcltdI4KZIME+syHGAuKRg\nAdRgR8/27bSkZX2cX5p0OGGXRnbAmDqxEIx1mHJc/443PU30wDPseuv43V24\nC6RCLAcMtfCdALtd52hCme/C7l5Axt3LyjfaqiDjj8OimOtDeawCynN2END6\nCM+aTh4ascLE0M5yn3ddYECwHecmK168VL9CUBuFmpmK1MIOHI3U5JfCj6/C\nF4ZL4d0HtosK16H2TL2G2Moqnxve7/TFLVjR8WKBPyDve/gWjwOmJK0SeoSz\nIAUOLVEV/fDBYneoQ4A7McmsH7Z+9pzm20ivakbJdwK/PIKtCslWPFKVbV+t\nSzWM/XEwsQLu1qtOiCPmlGAUVRfS1BADAsZMt3tBq+P0CcjzmxieKz82Gu9s\nKzEDtTu/slFySFagpqhfMdm8U7EQ166cygI50xETqAa83sq55l9ElTkDR3GX\nEmNV5Jv9VAc3qBSXr6ciExIS+N0QeumDs5F4rkQeZ9/L8n3Rg34gSsPpRBBw\nq6qK\r\n=NW35\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/A60OBjnATbULN40y47RAEexZ6fCTncJ5aWSMQxjbkAIgYOT9QME+kUuvQ1JUfdOwLB77P+6fFIsStSBfRCqLGYg="}]},"maintainers":[{"name":"cailir","email":"contato.cailir@gmail.com"}],"_npmUser":{"name":"cailir","email":"contato.cailir@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-requests_1.5.1_1604005590493_0.16704056063865624"},"_hasShrinkwrap":false}},"time":{"created":"2020-10-29T21:06:30.457Z","1.5.1":"2020-10-29T21:06:30.676Z","modified":"2022-04-04T21:31:00.796Z"},"maintainers":[{"name":"cailir","email":"contato.cailir@gmail.com"}],"description":"The HTTP client for Vue.js","homepage":"https://github.com/cailir/vue-requests/","keywords":["vue","xhr","http","ajax"],"repository":{"type":"git","url":"git+https://github.com/cailir/vue-requests.git"},"author":{"name":"cailirdev Team"},"bugs":{"url":"https://github.com/cailir/vue-requests/issues"},"license":"MIT","readme":"# vue-requests [![Build](https://circleci.com/gh/cailir/vue-requests.svg?style=shield)](https://circleci.com/gh/cailir/vue-requests) [![Downloads](https://img.shields.io/npm/dm/vue-requests.svg)](https://www.npmjs.com/package/vue-requests) [![jsdelivr](https://data.jsdelivr.com/v1/package/npm/vue-requests/badge?style=rounded)](https://www.jsdelivr.com/package/npm/vue-requests) [![Version](https://img.shields.io/npm/v/vue-requests.svg)](https://www.npmjs.com/package/vue-requests) [![License](https://img.shields.io/npm/l/vue-requests.svg)](https://www.npmjs.com/package/vue-requests)\r\n\r\nThe plugin for [Vue.js](http://vuejs.org) provides services for making web requests and handle responses using a [XMLHttpRequest](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest) or JSONP.\r\n\r\n## Features\r\n\r\n- Supports the [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) API and [URI Templates](https://medialize.github.io/URI.js/uri-template.html)\r\n- Supports [interceptors](docs/http.md#interceptors) for request and response\r\n- Supports latest Firefox, Chrome, Safari, Opera and IE9+\r\n- Supports Vue 1.0 & Vue 2.0\r\n- Compact size 14KB (5.3KB gzipped)\r\n\r\n## Installation\r\nYou can install it via [yarn](https://yarnpkg.com/) or [NPM](http://npmjs.org/).\r\n```\r\n$ yarn add vue-requests\r\n$ npm install vue-requests\r\n```\r\n\r\n### CDN\r\nAvailable on [jsdelivr](https://cdn.jsdelivr.net/npm/vue-requests@1.5.1), [unpkg](https://unpkg.com/vue-requests@1.5.1) or [cdnjs](https://cdnjs.com/libraries/vue-requests).\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/npm/vue-requests@1.5.1\"></script>\r\n```\r\n\r\n## Example\r\n```js\r\n{\r\n  // GET /someUrl\r\n  this.$http.get('/someUrl').then(response => {\r\n\r\n    // get body data\r\n    this.someData = response.body;\r\n\r\n  }, response => {\r\n    // error callback\r\n  });\r\n}\r\n```\r\n\r\n## Documentation\r\n\r\n- [Configuration](docs/config.md)\r\n- [HTTP Requests/Response](docs/http.md)\r\n- [Creating Resources](docs/resource.md)\r\n- [Code Recipes](docs/recipes.md)\r\n- [API Reference](docs/api.md)\r\n\r\n## Changelog\r\n\r\nDetails changes for each release are documented in the [release notes](https://github.com/cailir/vue-requests/releases).\r\n\r\n## Contribution\r\n\r\nIf you find a bug or want to contribute to the code or documentation, you can help by submitting an [issue](https://github.com/cailir/vue-requests/issues) or a [pull request](https://github.com/cailir/vue-requests/pulls).\r\n\r\n## License\r\n\r\n[MIT](http://opensource.org/licenses/MIT)\r\n","readmeFilename":"README.md"}