{"_id":"axios-cache-adapter","_rev":"31-b733d37a59774d1d8da7c365cdf1961e","name":"axios-cache-adapter","description":"Caching adapter for axios","dist-tags":{"latest":"2.7.3","beta":"3.0.0-beta.0"},"versions":{"1.0.0":{"name":"axios-cache-adapter","version":"1.0.0","description":"Caching adapter for axios","homepage":"https://github.com/RasCarlito/axios-cache-adapter","author":{"name":"Carl Ogren","email":"rascarlito@gmail.com","url":"https://github.com/RasCarlito"},"files":["/dist","/src"],"main":"dist/cache.js","keywords":["axios","cache","xhr","request"],"standard":{"ignore":["/dist"]},"scripts":{"lint":"standard | snazzy","build":"rollup -c rollup.config.js && NODE_ENV=production rollup -c rollup.config.js","test":"jest"},"repository":{"type":"git","url":"git+https://github.com/RasCarlito/axios-cache-adapter.git"},"license":"MIT","devDependencies":{"jest":"^21.1.0","localforage":"^1.3.1","lodash":"^3.10.1","rimraf":"^2.5.0","rollup":"^0.49.3","rollup-plugin-buble":"^0.15.0","rollup-plugin-uglify":"^2.0.1","snazzy":"^7.0.0","standard":"^10.0.3"},"dependencies":{"axios":"^0.16.2"},"gitHead":"e50cdfe8431d896d0b69f33fcc2ee16d3efd2b48","bugs":{"url":"https://github.com/RasCarlito/axios-cache-adapter/issues"},"_id":"axios-cache-adapter@1.0.0","_npmVersion":"5.4.1","_nodeVersion":"6.9.1","_npmUser":{"name":"rascarlito","email":"rascarlito@gmail.com"},"dist":{"integrity":"sha512-OA9wBX3vG22bwoIMH8S90t18W6AmeADVR9uBspTIiyGz9gQh+To9527NSFTmKd7YlDi3ymParW492Z3msyrnMA==","shasum":"5c37494db5fa9a7673c9352a4f31637666f27665","tarball":"https://registry.npmjs.org/axios-cache-adapter/-/axios-cache-adapter-1.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCYvp9DaXK7QIM6r4UYEWEWAaz3i/9sFH84l/lJOXKiYAIhANg0WGilV0w8yjatNDOVZKrGUg84ictbuxFpAIPzV8vJ"}]},"maintainers":[{"name":"rascarlito","email":"rascarlito@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/axios-cache-adapter-1.0.0.tgz_1505725337226_0.57802624697797"},"directories":{}},"1.1.0":{"name":"axios-cache-adapter","version":"1.1.0","description":"Caching adapter for axios","homepage":"https://github.com/RasCarlito/axios-cache-adapter","author":{"name":"Carl Ogren","email":"rascarlito@gmail.com","url":"https://github.com/RasCarlito"},"files":["/dist","/src"],"main":"dist/cache.js","module":"src/index.js","keywords":["axios","cache","xhr","request"],"standard":{"ignore":["/dist"]},"scripts":{"clean":"rimraf dist","lint":"standard | snazzy","build":"webpack && NODE_ENV=production webpack && NODE_BUNDLED=please webpack && NODE_ENV=production NODE_BUNDLED=please webpack","test":"jest"},"repository":{"type":"git","url":"git+https://github.com/RasCarlito/axios-cache-adapter.git"},"license":"MIT","devDependencies":{"babel-loader":"^7.1.2","babel-preset-es2015":"^6.24.1","jest":"^21.1.0","localforage":"^1.3.1","rimraf":"^2.6.2","snazzy":"^7.0.0","standard":"^10.0.3","webpack":"^3.6.0"},"dependencies":{"axios":"^0.16.2","lodash-es":"^4.17.4"},"gitHead":"df26860b576fcbd15bc22b9f8f171eafdceef4e9","bugs":{"url":"https://github.com/RasCarlito/axios-cache-adapter/issues"},"_id":"axios-cache-adapter@1.1.0","_npmVersion":"5.4.1","_nodeVersion":"6.9.1","_npmUser":{"name":"rascarlito","email":"rascarlito@gmail.com"},"dist":{"integrity":"sha512-7pYIPxZzL5anGdkU1HS7N5olVbTuJ6d3KS82SIxJ+s8/RGL3aozD/I7OINJi+uaWyvQFSoFXk1aDcaJT0uomcA==","shasum":"ed47d12a7d6e36d96801184938baa62392c0e64f","tarball":"https://registry.npmjs.org/axios-cache-adapter/-/axios-cache-adapter-1.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD79RKa06WNSyuj9WTZEel0RjN0pqZyGMb2Ewt53lkEAwIhAPEF31Qh0HjRif10yO40s5hBXJnDu8hH9GxZbmvtayLt"}]},"maintainers":[{"name":"rascarlito","email":"rascarlito@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/axios-cache-adapter-1.1.0.tgz_1505982490297_0.6930011981166899"},"directories":{}},"1.2.0":{"name":"axios-cache-adapter","version":"1.2.0","description":"Caching adapter for axios","homepage":"https://github.com/RasCarlito/axios-cache-adapter","author":{"name":"Carl Ogren","email":"rascarlito@gmail.com","url":"https://github.com/RasCarlito"},"files":["/dist","/src"],"main":"dist/cache.js","module":"src/index.js","keywords":["axios","cache","xhr","request"],"standard":{"ignore":["/dist"]},"scripts":{"clean":"rimraf dist","lint":"standard | snazzy","build":"webpack && NODE_ENV=production webpack && NODE_BUNDLED=please webpack && NODE_ENV=production NODE_BUNDLED=please webpack","test":"jest"},"repository":{"type":"git","url":"git+https://github.com/RasCarlito/axios-cache-adapter.git"},"license":"MIT","devDependencies":{"babel-loader":"^7.1.2","babel-preset-es2015":"^6.24.1","jest":"^21.1.0","localforage":"^1.3.1","rimraf":"^2.6.2","snazzy":"^7.0.0","standard":"^10.0.3","webpack":"^3.6.0"},"dependencies":{"axios":"^0.16.2","lodash-es":"^4.17.4"},"gitHead":"b187a05b877d43b603a4917fdfff5c33f84665e4","bugs":{"url":"https://github.com/RasCarlito/axios-cache-adapter/issues"},"_id":"axios-cache-adapter@1.2.0","_npmVersion":"5.4.1","_nodeVersion":"6.9.1","_npmUser":{"name":"rascarlito","email":"rascarlito@gmail.com"},"dist":{"integrity":"sha512-JENXE+HTbfSqH49x+YgRrnQhtzQWg3CKC1cmQU4COILbtAWXx49EkYJHrMxsRERM8jkBsqCzFjO+elx+0eQ1sg==","shasum":"6e22a9fbdccb297474f08be404b18c631ea48f5f","tarball":"https://registry.npmjs.org/axios-cache-adapter/-/axios-cache-adapter-1.2.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBAA6WM9wxoeu7yHsxgpgKMe1Wb9nJVSlNxKBS7PhlBBAiEA+SaP0aBnNPAahnLQv4rqwf/Ljg5bC92KGLgQiym92ns="}]},"maintainers":[{"name":"rascarlito","email":"rascarlito@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/axios-cache-adapter-1.2.0.tgz_1506592131197_0.3883769179228693"},"directories":{}},"1.3.0":{"name":"axios-cache-adapter","version":"1.3.0","description":"Caching adapter for axios","homepage":"https://github.com/RasCarlito/axios-cache-adapter","author":{"name":"Carl Ogren","email":"rascarlito@gmail.com","url":"https://github.com/RasCarlito"},"files":["/dist","/src"],"main":"dist/cache.js","module":"src/index.js","keywords":["axios","cache","xhr","request"],"standard":{"ignore":["/dist"]},"scripts":{"clean":"rimraf dist","lint":"standard | snazzy","build":"webpack && NODE_ENV=production webpack && NODE_BUNDLED=please webpack && NODE_ENV=production NODE_BUNDLED=please webpack","test":"jest"},"repository":{"type":"git","url":"git+https://github.com/RasCarlito/axios-cache-adapter.git"},"license":"MIT","devDependencies":{"babel-loader":"^7.1.2","babel-preset-es2015":"^6.24.1","jest":"^21.1.0","localforage":"^1.3.1","rimraf":"^2.6.2","snazzy":"^7.0.0","standard":"^10.0.3","webpack":"^3.6.0"},"dependencies":{"axios":"^0.16.2","lodash-es":"^4.17.4"},"gitHead":"813b0d94307128d47eb6db668f66a46ef07c794d","bugs":{"url":"https://github.com/RasCarlito/axios-cache-adapter/issues"},"_id":"axios-cache-adapter@1.3.0","_npmVersion":"5.4.1","_nodeVersion":"6.9.1","_npmUser":{"name":"rascarlito","email":"rascarlito@gmail.com"},"dist":{"integrity":"sha512-QSMJlDY48lfpafCoTtok0G429ZG75sJFRONkzFrdyeIdQEwDy6OpcMJ+0Q8+CJmXDvW4xd+B3eBVSTdDu8/ATw==","shasum":"3e1a5a014b8647d0ecbc81fd506dbe2bc5484302","tarball":"https://registry.npmjs.org/axios-cache-adapter/-/axios-cache-adapter-1.3.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEeobjkJ7WkXxUpbG5OqWpo8SQQNsWZ8+g3nX/84D7VsAiEA3hlp4/quik8ia6TDynFJlOkunCRQf/hfd+ESirl345k="}]},"maintainers":[{"name":"rascarlito","email":"rascarlito@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/axios-cache-adapter-1.3.0.tgz_1506600709379_0.9578138845972717"},"directories":{}},"1.4.0":{"name":"axios-cache-adapter","version":"1.4.0","description":"Caching adapter for axios","homepage":"https://github.com/RasCarlito/axios-cache-adapter","author":{"name":"Carl Ogren","email":"rascarlito@gmail.com","url":"https://github.com/RasCarlito"},"files":["/dist","/src"],"main":"dist/cache.js","keywords":["axios","cache","xhr","request"],"standard":{"ignore":["/dist"]},"scripts":{"clean":"rimraf dist","lint":"standard | snazzy","build":"webpack && NODE_ENV=production webpack && NODE_BUNDLED=please webpack && NODE_ENV=production NODE_BUNDLED=please webpack","test":"jest"},"repository":{"type":"git","url":"git+https://github.com/RasCarlito/axios-cache-adapter.git"},"license":"MIT","devDependencies":{"babel-loader":"^7.1.2","babel-preset-es2015":"^6.24.1","jest":"^21.1.0","localforage":"^1.3.1","rimraf":"^2.6.2","snazzy":"^7.0.0","standard":"^10.0.3","webpack":"^3.6.0"},"dependencies":{"axios":"^0.16.2","lodash-es":"^4.17.4"},"gitHead":"f611fa1c3a4cffa8f112d899568f4106d8a316b9","bugs":{"url":"https://github.com/RasCarlito/axios-cache-adapter/issues"},"_id":"axios-cache-adapter@1.4.0","_npmVersion":"5.4.1","_nodeVersion":"6.9.1","_npmUser":{"name":"rascarlito","email":"rascarlito@gmail.com"},"dist":{"integrity":"sha512-PWyzjFzVQL2hYj0YQDMF+HBpCE6OOhjFXqNiXptIqQkJlyh47T26SjFXPUEBNYJS9O7DedMozfm2cxV8W5bncg==","shasum":"e3629de1542448721841419681e2206f36add42b","tarball":"https://registry.npmjs.org/axios-cache-adapter/-/axios-cache-adapter-1.4.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCYOQX198HsnSnqdmjqMDhLdha1LCZxMDMtp9G56+yirgIgVMu4W4TCjnMclof1efg4vTWnnwxvkvXbGT21cfJ+kgo="}]},"maintainers":[{"name":"rascarlito","email":"rascarlito@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/axios-cache-adapter-1.4.0.tgz_1506601772952_0.6085348692722619"},"directories":{}},"1.5.0":{"name":"axios-cache-adapter","version":"1.5.0","description":"Caching adapter for axios","homepage":"https://github.com/RasCarlito/axios-cache-adapter","author":{"name":"Carl Ogren","email":"rascarlito@gmail.com","url":"https://github.com/RasCarlito"},"files":["/dist","/src"],"main":"dist/cache.js","keywords":["axios","cache","xhr","request"],"standard":{"ignore":["/dist"]},"scripts":{"clean":"rimraf dist","lint":"standard | snazzy","build":"webpack && NODE_ENV=production webpack && NODE_BUNDLED=please webpack && NODE_ENV=production NODE_BUNDLED=please webpack","test":"jest"},"repository":{"type":"git","url":"git+https://github.com/RasCarlito/axios-cache-adapter.git"},"license":"MIT","devDependencies":{"babel-loader":"^7.1.2","babel-preset-es2015":"^6.24.1","jest":"^21.1.0","localforage":"^1.3.1","rimraf":"^2.6.2","size-limit":"^0.11.4","snazzy":"^7.0.0","standard":"^10.0.3","webpack":"^3.6.0"},"dependencies":{"axios":"^0.16.2","lodash-es":"^4.17.4"},"size-limit":[{"path":"./src/index.js"}],"gitHead":"946023eed8b556bebe00eb6d65e2cb1dfe1bcce9","bugs":{"url":"https://github.com/RasCarlito/axios-cache-adapter/issues"},"_id":"axios-cache-adapter@1.5.0","_npmVersion":"5.4.1","_nodeVersion":"6.9.1","_npmUser":{"name":"rascarlito","email":"rascarlito@gmail.com"},"dist":{"integrity":"sha512-FLXlJtK+B9okzThpTj7ROIHMnxSHTMgTCDYvH0igEJ5cxYHXDlOPFeitgUbprOl38EQJxiOPXaHEjyDJ/Bt7Xg==","shasum":"f1e2fd4730de3f2f0a73dfaf89414aaa63e50405","tarball":"https://registry.npmjs.org/axios-cache-adapter/-/axios-cache-adapter-1.5.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDC1q7y4fLc7A9TYVXFVtHLTvTERl9kkSUCLIAOz5LWyAiBNMvzEVGVcC1yKumhC5unnAuE1ncGPj6Q7BPeydGRh9w=="}]},"maintainers":[{"name":"rascarlito","email":"rascarlito@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/axios-cache-adapter-1.5.0.tgz_1506605165382_0.14155283593572676"},"directories":{}},"1.5.1":{"name":"axios-cache-adapter","version":"1.5.1","description":"Caching adapter for axios","homepage":"https://github.com/RasCarlito/axios-cache-adapter","author":{"name":"Carl Ogren","email":"rascarlito@gmail.com","url":"https://github.com/RasCarlito"},"files":["/dist","/src"],"main":"dist/cache.js","keywords":["axios","cache","xhr","request"],"standard":{"ignore":["/dist"]},"scripts":{"clean":"rimraf dist","lint":"standard | snazzy","build":"webpack && NODE_ENV=production webpack && NODE_BUNDLED=please webpack && NODE_ENV=production NODE_BUNDLED=please webpack","test":"jest"},"repository":{"type":"git","url":"git+https://github.com/RasCarlito/axios-cache-adapter.git"},"license":"MIT","devDependencies":{"babel-loader":"^7.1.2","babel-preset-es2015":"^6.24.1","jest":"^21.1.0","localforage":"^1.3.1","rimraf":"^2.6.2","size-limit":"^0.11.4","snazzy":"^7.0.0","standard":"^10.0.3","webpack":"^3.6.0"},"dependencies":{"axios":"^0.16.2","lodash":"^4.17.4"},"size-limit":[{"path":"./src/index.js"}],"gitHead":"936989af8bcf03738155cd938b09cb0b537b4e25","bugs":{"url":"https://github.com/RasCarlito/axios-cache-adapter/issues"},"_id":"axios-cache-adapter@1.5.1","_npmVersion":"5.4.2","_nodeVersion":"6.9.1","_npmUser":{"name":"rascarlito","email":"rascarlito@gmail.com"},"dist":{"integrity":"sha512-j6fa/kJxdO0ztJSFwQikGb/P6FOy+VNtklAeLv34YEcd2k0ZQd+YQij0uQNSET9YF8w4PkL6ZTXzSV9Zxz4dhQ==","shasum":"6d17b53c885de14e2c804f6ffdb6ab4d150e1d38","tarball":"https://registry.npmjs.org/axios-cache-adapter/-/axios-cache-adapter-1.5.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA/F9jb/3cUUGXh+wyzZolvtb0a/RFQxSx56RDGOkYuGAiEAnyYZ2V3DWEhRrc4fBIBESLJz47BS9LDl07sTgc//9j0="}]},"maintainers":[{"name":"rascarlito","email":"rascarlito@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/axios-cache-adapter-1.5.1.tgz_1507453118775_0.4822782101109624"},"directories":{}},"1.5.2":{"name":"axios-cache-adapter","version":"1.5.2","description":"Caching adapter for axios","homepage":"https://github.com/RasCarlito/axios-cache-adapter","author":{"name":"Carl Ogren","email":"rascarlito@gmail.com","url":"https://github.com/RasCarlito"},"files":["/dist","/src"],"main":"dist/cache.js","keywords":["axios","cache","xhr","request"],"standard":{"ignore":["/dist"]},"scripts":{"clean":"rimraf dist","lint":"standard | snazzy","build":"webpack && NODE_ENV=production webpack && NODE_BUNDLED=please webpack && NODE_ENV=production NODE_BUNDLED=please webpack","test":"jest"},"repository":{"type":"git","url":"git+https://github.com/RasCarlito/axios-cache-adapter.git"},"license":"MIT","devDependencies":{"babel-loader":"^7.1.2","babel-preset-es2015":"^6.24.1","jest":"^21.1.0","localforage":"^1.3.1","rimraf":"^2.6.2","size-limit":"^0.11.4","snazzy":"^7.0.0","standard":"^10.0.3","webpack":"^3.6.0"},"dependencies":{"axios":"^0.16.2","lodash":"^4.17.4"},"size-limit":[{"path":"./src/index.js"}],"gitHead":"32b2823ba2dc1f0f1f2b9a17fb659594553a7453","bugs":{"url":"https://github.com/RasCarlito/axios-cache-adapter/issues"},"_id":"axios-cache-adapter@1.5.2","_npmVersion":"5.4.2","_nodeVersion":"6.9.1","_npmUser":{"name":"rascarlito","email":"rascarlito@gmail.com"},"dist":{"integrity":"sha512-a4nWb6+EUtocvz10/snsTYSs1iL8bwTr3lJj2uxSTn1Im9M7MD6xXf/vds+L60t2XPf63n5zago/Kzd6u544mQ==","shasum":"36c207814bc52314fadfd226682de36153dd68d5","tarball":"https://registry.npmjs.org/axios-cache-adapter/-/axios-cache-adapter-1.5.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEl+9WuTRxAidWUthkdQ4gvnTGYz+QqVbwhc++IMUcdQAiEAs8jvhxjoQtNCVd9HEF+OJiL9UzpRSnUBatKB51+0Ym0="}]},"maintainers":[{"name":"rascarlito","email":"rascarlito@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/axios-cache-adapter-1.5.2.tgz_1507453674114_0.37376196938566864"},"directories":{}},"1.6.0":{"name":"axios-cache-adapter","version":"1.6.0","description":"Caching adapter for axios","homepage":"https://github.com/RasCarlito/axios-cache-adapter","author":{"name":"Carl Ogren","email":"rascarlito@gmail.com","url":"https://github.com/RasCarlito"},"files":["/dist","/src"],"main":"dist/cache.js","keywords":["axios","cache","xhr","request"],"standard":{"ignore":["/dist"]},"scripts":{"clean":"rimraf dist","lint":"standard | snazzy","build":"webpack && NODE_ENV=production webpack && NODE_BUNDLED=please webpack && NODE_ENV=production NODE_BUNDLED=please webpack","test":"jest"},"repository":{"type":"git","url":"git+https://github.com/RasCarlito/axios-cache-adapter.git"},"license":"MIT","devDependencies":{"babel-loader":"^7.1.2","babel-preset-es2015":"^6.24.1","jest":"^21.1.0","localforage":"^1.3.1","rimraf":"^2.6.2","size-limit":"^0.11.4","snazzy":"^7.0.0","standard":"^10.0.3","webpack":"^3.6.0"},"dependencies":{"axios":"^0.16.2","lodash":"^4.17.4"},"size-limit":[{"path":"./src/index.js"}],"gitHead":"ab0d827702ae1f1e0265d093ba8d179e9d82b858","bugs":{"url":"https://github.com/RasCarlito/axios-cache-adapter/issues"},"_id":"axios-cache-adapter@1.6.0","_npmVersion":"5.4.2","_nodeVersion":"6.9.1","_npmUser":{"name":"rascarlito","email":"rascarlito@gmail.com"},"dist":{"integrity":"sha512-0aPUhVgw9eT5vfGvz32TY38yxiyqkQQ7xTLJ29Gc7jmF8JhEWUnESAmrtRQEcNjp2vCcwmM7JkOGmf3vXiiQeQ==","shasum":"3563a73607c1ca448ac641591d34fc1a3278b799","tarball":"https://registry.npmjs.org/axios-cache-adapter/-/axios-cache-adapter-1.6.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA5SgR4hd5+8qPPXlQYo+lI7Baktx73fIPKVIyaJxmGjAiEAkkrgc/72w7qKg3D3v6rl6MAy1rueW58wm8vJvqB4pf4="}]},"maintainers":[{"name":"rascarlito","email":"rascarlito@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/axios-cache-adapter-1.6.0.tgz_1507548496253_0.061732216039672494"},"directories":{}},"1.7.0":{"name":"axios-cache-adapter","version":"1.7.0","description":"Caching adapter for axios","homepage":"https://github.com/RasCarlito/axios-cache-adapter","author":{"name":"Carl Ogren","email":"rascarlito@gmail.com","url":"https://github.com/RasCarlito"},"files":["/dist","/src"],"main":"dist/cache.js","keywords":["axios","cache","xhr","request"],"standard":{"ignore":["/dist"]},"scripts":{"clean":"rimraf dist","lint":"standard | snazzy","build":"webpack && NODE_ENV=production webpack && NODE_BUNDLED=please webpack && NODE_ENV=production NODE_BUNDLED=please webpack","test":"NODE_ENV=test karma start karma.conf.js"},"repository":{"type":"git","url":"git+https://github.com/RasCarlito/axios-cache-adapter.git"},"license":"MIT","devDependencies":{"assert":"^1.4.1","babel-loader":"^7.1.2","babel-preset-es2015":"^6.24.1","html-webpack-plugin":"^2.30.1","jest":"^21.1.0","karma":"^1.7.0","karma-chai":"^0.1.0","karma-chai-plugins":"^0.9.0","karma-chai-sinon":"^0.1.5","karma-chrome-launcher":"^2.2.0","karma-coverage":"^1.1.1","karma-firefox-launcher":"^1.0.1","karma-html-reporter":"^0.2.7","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.3","karma-phantomjs-launcher":"^1.0.4","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^2.0.3","localforage":"^1.3.1","mocha":"^3.4.2","rimraf":"^2.6.2","size-limit":"^0.11.4","snazzy":"^7.0.0","standard":"^10.0.3","webpack":"^3.6.0"},"dependencies":{"axios":"^0.16.2","lodash":"^4.17.4"},"size-limit":[{"path":"./src/index.js"}],"gitHead":"c3f10846e1a1db21e31306c902062b8c82bfafc5","bugs":{"url":"https://github.com/RasCarlito/axios-cache-adapter/issues"},"_id":"axios-cache-adapter@1.7.0","_npmVersion":"5.4.2","_nodeVersion":"6.9.1","_npmUser":{"name":"rascarlito","email":"rascarlito@gmail.com"},"dist":{"integrity":"sha512-0J1C+Uom7x6+XStn5bnrYp/o+WGw4d1RBLISn2vsWNUIwwpU0Ms5erpsKHu+BOLRgheqTM/yc5wLlrjd4Nf3kA==","shasum":"aff770650743f1cdcb2971a3b4e0c40fc2081613","tarball":"https://registry.npmjs.org/axios-cache-adapter/-/axios-cache-adapter-1.7.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDlE7OFMtmRLMjp1+53C6iuQukx/zbqJIifub9GD+NkswIhAO3jiIoISAtoY/J+nOW5H2tgyznD/YtEHcBlogZ0gcB5"}]},"maintainers":[{"name":"rascarlito","email":"rascarlito@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/axios-cache-adapter-1.7.0.tgz_1507901298131_0.77232122910209"},"directories":{}},"1.7.1":{"name":"axios-cache-adapter","version":"1.7.1","description":"Caching adapter for axios","homepage":"https://github.com/RasCarlito/axios-cache-adapter","author":{"name":"Carl Ogren","email":"rascarlito@gmail.com","url":"https://github.com/RasCarlito"},"files":["/dist","/src"],"main":"dist/cache.js","keywords":["axios","cache","xhr","request"],"standard":{"ignore":["/dist"]},"scripts":{"clean":"rimraf dist","lint":"standard | snazzy","build":"webpack && NODE_ENV=production webpack && NODE_BUNDLED=please webpack && NODE_ENV=production NODE_BUNDLED=please webpack","test":"NODE_ENV=test karma start karma.conf.js"},"repository":{"type":"git","url":"git+https://github.com/RasCarlito/axios-cache-adapter.git"},"license":"MIT","devDependencies":{"assert":"^1.4.1","babel-loader":"^7.1.2","babel-preset-es2015":"^6.24.1","html-webpack-plugin":"^2.30.1","jest":"^21.1.0","karma":"^1.7.0","karma-chai":"^0.1.0","karma-chai-plugins":"^0.9.0","karma-chai-sinon":"^0.1.5","karma-chrome-launcher":"^2.2.0","karma-coverage":"^1.1.1","karma-firefox-launcher":"^1.0.1","karma-html-reporter":"^0.2.7","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.3","karma-phantomjs-launcher":"^1.0.4","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^2.0.3","localforage":"^1.3.1","mocha":"^3.4.2","rimraf":"^2.6.2","size-limit":"^0.11.4","snazzy":"^7.0.0","standard":"^10.0.3","webpack":"^3.6.0"},"dependencies":{"axios":"^0.16.2","lodash":"^4.17.4"},"size-limit":[{"path":"./src/index.js"}],"gitHead":"5b8f3754722e2b3103603930d33780099b70b7fc","bugs":{"url":"https://github.com/RasCarlito/axios-cache-adapter/issues"},"_id":"axios-cache-adapter@1.7.1","_npmVersion":"5.4.2","_nodeVersion":"6.9.1","_npmUser":{"name":"rascarlito","email":"rascarlito@gmail.com"},"dist":{"integrity":"sha512-bCLtYSu8zbqIZEPdOOal+9qzuWVafmPkUj2PNTNEy4tMAsMbCAvJC1ILTA5uHRhFc+ekIjsfFHWqb6077TyQPg==","shasum":"a2990ff6c13cbf58fb70faf070a8f6b41e713910","tarball":"https://registry.npmjs.org/axios-cache-adapter/-/axios-cache-adapter-1.7.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD14beJnJwMCMTmUg27zJXHaiXtSDSTOLBRjE2ejaiAwQIhAI5zsnV0lBG4H/GkXh4oCPsDbYsl8pPj2V2AWPED1iEZ"}]},"maintainers":[{"name":"rascarlito","email":"rascarlito@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/axios-cache-adapter-1.7.1.tgz_1508336358661_0.8623789753764868"},"directories":{}},"1.7.2":{"name":"axios-cache-adapter","version":"1.7.2","description":"Caching adapter for axios","homepage":"https://github.com/RasCarlito/axios-cache-adapter","author":{"name":"Carl Ogren","email":"rascarlito@gmail.com","url":"https://github.com/RasCarlito"},"files":["/dist","/src"],"main":"dist/cache.js","keywords":["axios","cache","xhr","request"],"standard":{"ignore":["/dist"]},"scripts":{"clean":"rimraf dist","lint":"standard | snazzy","build":"webpack && NODE_ENV=production webpack && NODE_BUNDLED=please webpack && NODE_ENV=production NODE_BUNDLED=please webpack","test":"NODE_ENV=test karma start karma.conf.js"},"repository":{"type":"git","url":"git+https://github.com/RasCarlito/axios-cache-adapter.git"},"license":"MIT","devDependencies":{"assert":"^1.4.1","babel-loader":"^7.1.2","babel-preset-es2015":"^6.24.1","html-webpack-plugin":"^2.30.1","jest":"^21.1.0","karma":"^1.7.0","karma-chai":"^0.1.0","karma-chai-plugins":"^0.9.0","karma-chai-sinon":"^0.1.5","karma-chrome-launcher":"^2.2.0","karma-coverage":"^1.1.1","karma-firefox-launcher":"^1.0.1","karma-html-reporter":"^0.2.7","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.3","karma-phantomjs-launcher":"^1.0.4","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^2.0.3","localforage":"^1.3.1","mocha":"^3.4.2","rimraf":"^2.6.2","size-limit":"^0.11.4","snazzy":"^7.0.0","standard":"^10.0.3","webpack":"^3.6.0"},"dependencies":{"axios":"^0.16.2","lodash":"^4.17.4"},"size-limit":[{"path":"./src/index.js"}],"gitHead":"b782cd0b9f1810020a37a2630787ce8c71bbee11","bugs":{"url":"https://github.com/RasCarlito/axios-cache-adapter/issues"},"_id":"axios-cache-adapter@1.7.2","_npmVersion":"5.5.1","_nodeVersion":"6.9.1","_npmUser":{"name":"rascarlito","email":"rascarlito@gmail.com"},"dist":{"integrity":"sha512-BkjAnPg7KjzV6K12Mr48XlwL/wQ3zcBykoHZhU1JGwNYErGrnkdQ7bOR3oP4A9+Piuwrbqw4fk7eLswvv+QHAA==","shasum":"79c4315201bef0bc4bfbb860cd076251163fd5c8","tarball":"https://registry.npmjs.org/axios-cache-adapter/-/axios-cache-adapter-1.7.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCa5Hp0qp2ywtwfhtu37IwgRF3KFI0go5UAhKezkKlVIgIhALFVAViSSQCo1/OyIQykoBgcki+KiM3HfK8Ow5HhELXN"}]},"maintainers":[{"name":"rascarlito","email":"rascarlito@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/axios-cache-adapter-1.7.2.tgz_1508855475136_0.9177914683241397"},"directories":{}},"1.7.3":{"name":"axios-cache-adapter","version":"1.7.3","description":"Caching adapter for axios","homepage":"https://github.com/RasCarlito/axios-cache-adapter","author":{"name":"Carl Ogren","email":"rascarlito@gmail.com","url":"https://github.com/RasCarlito"},"files":["/dist","/src"],"main":"dist/cache.js","keywords":["axios","cache","xhr","request"],"standard":{"ignore":["/dist"]},"scripts":{"clean":"rimraf dist","lint":"standard | snazzy","build":"webpack && NODE_ENV=production webpack && NODE_BUNDLED=please webpack && NODE_ENV=production NODE_BUNDLED=please webpack","test":"NODE_ENV=test karma start karma.conf.js"},"repository":{"type":"git","url":"git+https://github.com/RasCarlito/axios-cache-adapter.git"},"license":"MIT","devDependencies":{"assert":"^1.4.1","babel-loader":"^7.1.2","babel-preset-es2015":"^6.24.1","html-webpack-plugin":"^2.30.1","jest":"^21.1.0","karma":"^1.7.0","karma-chai":"^0.1.0","karma-chai-plugins":"^0.9.0","karma-chai-sinon":"^0.1.5","karma-chrome-launcher":"^2.2.0","karma-coverage":"^1.1.1","karma-firefox-launcher":"^1.0.1","karma-html-reporter":"^0.2.7","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.3","karma-phantomjs-launcher":"^1.0.4","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^2.0.3","localforage":"^1.3.1","mocha":"^3.4.2","rimraf":"^2.6.2","size-limit":"^0.11.4","snazzy":"^7.0.0","standard":"^10.0.3","webpack":"^3.6.0"},"dependencies":{"axios":"^0.16.2","lodash":"^4.17.4"},"size-limit":[{"path":"./src/index.js"}],"gitHead":"313a7db21f31d6e8d8652e45893a32ff80b0ad06","bugs":{"url":"https://github.com/RasCarlito/axios-cache-adapter/issues"},"_id":"axios-cache-adapter@1.7.3","_npmVersion":"5.5.1","_nodeVersion":"6.9.1","_npmUser":{"name":"rascarlito","email":"rascarlito@gmail.com"},"dist":{"integrity":"sha512-ptjE37jxTi4WgVhJHAsfWosBtNi5fwOoNxWKKni8RjHeDc20KB4lJ6qWlZx+tEV9+OMx1H4Jf9rfbQu6r7I0kw==","shasum":"9c0f49587dd3dc6140e0204d8cd84740fb4dcc67","tarball":"https://registry.npmjs.org/axios-cache-adapter/-/axios-cache-adapter-1.7.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCE6mup7XRvzdESQes1+kFWOiUBeYtT7U3s10hvyroRwQIgfOlVNXl2hfeFZaMgkL2Pyae/Nm1W7qa/KH5sRsDOVJQ="}]},"maintainers":[{"name":"rascarlito","email":"rascarlito@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/axios-cache-adapter-1.7.3.tgz_1509027069498_0.9096888594795018"},"directories":{}},"2.0.0":{"name":"axios-cache-adapter","version":"2.0.0","description":"Caching adapter for axios","homepage":"https://github.com/RasCarlito/axios-cache-adapter","author":{"name":"Carl Ogren","email":"rascarlito@gmail.com","url":"https://github.com/RasCarlito"},"files":["/dist","/src"],"main":"dist/cache.js","keywords":["axios","cache","xhr","request"],"standard":{"ignore":["/dist"]},"scripts":{"clean":"rimraf dist","lint":"standard src/**/*.js test/**/*.js | snazzy","build":"npm run clean && webpack && NODE_ENV=production webpack && NODE_BUNDLED=please webpack && NODE_ENV=production NODE_BUNDLED=please webpack","test":"NODE_ENV=test karma start karma.conf.js","watch":"NODE_WATCH=true npm test"},"repository":{"type":"git","url":"git+https://github.com/RasCarlito/axios-cache-adapter.git"},"license":"MIT","devDependencies":{"assert":"^1.4.1","babel-core":"^6.26.0","babel-loader":"^7.1.2","babel-plugin-transform-async-to-generator":"^6.24.1","babel-preset-es2015":"^6.24.1","babel-regenerator-runtime":"^6.5.0","codecov":"^3.0.0","html-webpack-plugin":"^2.30.1","istanbul-instrumenter-loader":"^3.0.0","karma":"^1.7.0","karma-chrome-launcher":"^2.2.0","karma-coverage":"^1.1.1","karma-coverage-istanbul-reporter":"^1.3.0","karma-html-reporter":"^0.2.7","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.3","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^2.0.3","localforage":"^1.3.1","mocha":"^3.4.2","puppeteer":"^0.12.0","rimraf":"^2.6.2","size-limit":"^0.11.4","snazzy":"^7.0.0","standard":"^10.0.3","webpack":"^3.6.0"},"dependencies":{"axios":"^0.16.2","lodash":"^4.17.4"},"size-limit":[{"path":"./src/index.js"}],"gitHead":"02d45b1de4b324a99e8b362c8ca010ea3efaceef","bugs":{"url":"https://github.com/RasCarlito/axios-cache-adapter/issues"},"_id":"axios-cache-adapter@2.0.0","_npmVersion":"5.5.1","_nodeVersion":"6.9.1","_npmUser":{"name":"rascarlito","email":"rascarlito@gmail.com"},"dist":{"integrity":"sha512-SQF0LmyQYaYBtyrlWsc7faRQA3j9vme1t1SO8VsL8jPXQUIKHufDPRjhvDWCLvpmj2+G1/t42njrFWgSUeHuXw==","shasum":"1cdfb42c0262269acce73f971972615653877c43","tarball":"https://registry.npmjs.org/axios-cache-adapter/-/axios-cache-adapter-2.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCGhett39nMDqJGNVN04RAB9TZbU1QZyrl1/cKsSEY59QIhAJoYv7Xfb8wcDPL803k6hilUOrYfcT9H1YL8fuVBfiD5"}]},"maintainers":[{"name":"rascarlito","email":"rascarlito@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/axios-cache-adapter-2.0.0.tgz_1509815944666_0.29475765535607934"},"directories":{}},"2.1.0":{"name":"axios-cache-adapter","version":"2.1.0","description":"Caching adapter for axios","homepage":"https://github.com/RasCarlito/axios-cache-adapter","author":{"name":"Carl Ogren","email":"rascarlito@gmail.com","url":"https://github.com/RasCarlito"},"files":["/dist","/src"],"main":"dist/cache.js","keywords":["axios","cache","xhr","request"],"standard":{"ignore":["/dist"]},"scripts":{"clean":"rimraf dist","lint":"standard src/**/*.js test/**/*.js | snazzy","lint-fix":"standard --fix src/**/*.js test/**/*.js | snazzy","build":"npm run clean && webpack && NODE_ENV=production webpack","test":"NODE_ENV=test karma start karma.conf.js","watch":"NODE_WATCH=true npm test"},"repository":{"type":"git","url":"git+https://github.com/RasCarlito/axios-cache-adapter.git"},"license":"MIT","devDependencies":{"@babel/core":"^7.0.0-beta.42","@babel/polyfill":"^7.0.0-beta.42","@babel/preset-env":"^7.0.0-beta.42","assert":"^1.4.1","babel-loader":"^8.0.0-beta.2","codecov":"^3.0.0","html-webpack-plugin":"^3.0.6","istanbul-instrumenter-loader":"^3.0.0","karma":"^2.0.0","karma-chrome-launcher":"^2.2.0","karma-coverage":"^1.1.1","karma-coverage-istanbul-reporter":"^1.3.0","karma-html-reporter":"^0.2.7","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.3","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^2.0.3","localforage":"^1.3.1","mocha":"^5.0.4","puppeteer":"^0.12.0","rimraf":"^2.6.2","size-limit":"^0.11.4","snazzy":"^7.0.0","standard":"^11.0.1","webpack":"^4.1.1","webpack-cli":"^2.0.12"},"dependencies":{"axios":"^0.18.0","lodash":"^4.17.4"},"size-limit":[{"path":"./src/index.js"}],"gitHead":"9ee6cc7ba474cecdcab83a50b745e6edf76997e5","bugs":{"url":"https://github.com/RasCarlito/axios-cache-adapter/issues"},"_id":"axios-cache-adapter@2.1.0","_npmVersion":"6.1.0","_nodeVersion":"8.11.1","_npmUser":{"name":"rascarlito","email":"rascarlito@gmail.com"},"dist":{"integrity":"sha512-rnj4OzUCdvnESize0HX7eSj657MDZFpVGRr5mVJjieWZWFwclOB/BBeWi7uxQkXxs27vDHDM42El47za3JUoFQ==","shasum":"f2a71e36a49333a2973219c4968046a33e570f93","tarball":"https://registry.npmjs.org/axios-cache-adapter/-/axios-cache-adapter-2.1.0.tgz","fileCount":16,"unpackedSize":221654,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbL+XQCRA9TVsSAnZWagAAzKYP/2xf7O7uHEVW4E/fjISb\npzDmqq5awS4iqcrw1X+2YFIVUZlMrc5aTcvRgUfzJYE71+2t7D7DYiwzzdBK\nbRewxKOG7atef+qy0AexXXYccvhA8cqTCGVgMZ9FLTGRSsHBHSguYoc0avJ5\nemMWgO5Q8r3ZtZQDq0aehSBzelSKrEVIkvmaVUeCGOohPMSJDDruFchbyEeG\nw+8Cxfcg3OqBbKTfOtAnr9BtvS/jc4wl+5mxWycNZtEjOa2gq355gjfEPtpb\nVIvweDKV4xFiLY0svomix1TNrQGFLjJLffZ+6xYH63ssOkh8E/XJYt0skyrT\nTr6AQ1i2peI2PYoe533Aoe7lpPsKqoNTHcIgxrzAkS36gptnlsr5g93jC/ia\nHjT5zkBWSR3EAk5bTdRnIAs7c8uvjRkKzsRMV8NB6LUsMw/cSlHIDH2BehS5\nXtSyvprIzK5GVfoXUs7xWgwfq9pPqlaii0x4404jwL/XqRwRgi3fGhIETk7n\n4iExnc5gzbtioSdt3zg6BscHiJQtLF2JP1YlO5J/p8JDo62HFbpDtpHVXkJr\n1bz7MclSIgWK70u3THUkhUnnxSGSk0JAQSsIwXD5VTfuijdS/ECfd0V0qWLM\n+jBFKwV0xBbYRgKIH4cJ680ttyxS3tWE7UFJc9oIto9QfSJ5Mrc9CEd6d2GA\nC7lS\r\n=jlOt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHkx1dt0x+p+BnBk9tgzDTvvw07howEtHRF+0Tw+m03bAiBuNnRRKe9oIHpjior4/DVkIR9bLOSENYgf4W1j6vSDAg=="}]},"maintainers":[{"name":"rascarlito","email":"rascarlito@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/axios-cache-adapter_2.1.0_1529865680906_0.405656895123895"},"_hasShrinkwrap":false},"2.1.1":{"name":"axios-cache-adapter","version":"2.1.1","description":"Caching adapter for axios","homepage":"https://github.com/RasCarlito/axios-cache-adapter","author":{"name":"Carl Ogren","email":"rascarlito@gmail.com","url":"https://github.com/RasCarlito"},"files":["/dist","/src"],"main":"dist/cache.node.js","browser":"dist/cache.js","keywords":["axios","cache","xhr","request"],"standard":{"ignore":["/dist"]},"scripts":{"clean":"rimraf dist","lint":"standard src/**/*.js test/**/*.js | snazzy","lint-fix":"standard --fix src/**/*.js test/**/*.js | snazzy","build":"npm run clean && webpack && NODE_ENV=production webpack && NODE_BUILD_FOR=node webpack && NODE_ENV=production NODE_BUILD_FOR=node webpack","test":"NODE_ENV=test karma start karma.conf.js","watch":"NODE_WATCH=true npm test"},"repository":{"type":"git","url":"git+https://github.com/RasCarlito/axios-cache-adapter.git"},"license":"MIT","devDependencies":{"@babel/core":"^7.0.0-beta.42","@babel/polyfill":"^7.0.0-beta.42","@babel/preset-env":"^7.0.0-beta.42","assert":"^1.4.1","babel-loader":"^8.0.0-beta.2","codecov":"^3.0.0","html-webpack-plugin":"^3.0.6","istanbul-instrumenter-loader":"^3.0.0","karma":"^2.0.0","karma-chrome-launcher":"^2.2.0","karma-coverage":"^1.1.1","karma-coverage-istanbul-reporter":"^1.3.0","karma-html-reporter":"^0.2.7","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.3","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^2.0.3","localforage":"^1.3.1","mocha":"^5.0.4","puppeteer":"^0.12.0","rimraf":"^2.6.2","size-limit":"^0.11.4","snazzy":"^7.0.0","standard":"^11.0.1","webpack":"^4.1.1","webpack-cli":"^2.0.12"},"dependencies":{"axios":"^0.18.0","lodash":"^4.17.4"},"size-limit":[{"path":"./src/index.js"}],"gitHead":"907963cbb3d72868ba43643850e11785f0e155f2","bugs":{"url":"https://github.com/RasCarlito/axios-cache-adapter/issues"},"_id":"axios-cache-adapter@2.1.1","_npmVersion":"6.1.0","_nodeVersion":"8.11.1","_npmUser":{"name":"rascarlito","email":"rascarlito@gmail.com"},"dist":{"integrity":"sha512-gYBhhhXVcalY9SjtqDlXT4E/A2n19LitoG3zkme1Y8dlWLhIPlPFmzT/e5sgqUQlwzvGkTdi6AhrvG4OjepaRg==","shasum":"2ca636837776f841481673e5c701302e9972aa5b","tarball":"https://registry.npmjs.org/axios-cache-adapter/-/axios-cache-adapter-2.1.1.tgz","fileCount":20,"unpackedSize":653557,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbVcetCRA9TVsSAnZWagAAoWcP/RgfIXMFoXeWaRsVrBsx\nIhQ0rnOS6C/GGeW8kh7//OU2B+dkIfTi4qsGinED7LIhJTHDP1upxwqdwZIa\nbvcmJg6vFofnBuqal1bBY3kgV2YkFVfGe0Iaj2hktfAyUCWCUXUgQHZbiKup\nizXJngi6yTW57S7PYeWNBUHMwwxkTyRhPGXi9kZUaMxRNXAkBhSzAexE1pmz\nF+NWhlsVcPjgx5NprurSSmw41vhxhTaJaCWm8rPqx10KWHQIMPdBBD4cXl6f\n7EbIXLKbd7eclJBjoA2hZgxCWb/AH9vIabB59/Xl0Cmmt1HjYzG77PMawN/o\nh/pu2IVgRz4EBkNVHg4sbZvUHegNiQFWNM8KV0bnjZ5Db3BJCS0fk9wWcEMy\nfzQIAs2ZPKpYICL5IIhspzGgTz0jZ6PlDZrkUXUHxyyDBdGdVAKw4vklmDf0\nQQlOxPkBhXPFwTrudBFyD5tSJRbDzRJYMxQEBAdEc+98ncbQ97nsMAApgXKc\nwxtiWtyM039PYFoomE6d2/b6VVRPA5m9RXd+WaRnfHIgMgNH9/mX2BIjjJsO\n0kSQJO5byEs5DoqFcVxK9QHwqAW5esTRPC5mf4sD4ftrjZ2/qX0XvySHeGCI\nGNrImshdFea1sto2tO+YQFO0sejKaTif33tL84I1g876ZCUfoURWkvfhlXxK\ny7Et\r\n=0jYy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID3V2R5WbI4Qws4XqhaAPnIHyqXHBSMU3BWGtlnaXEczAiEAkjC/cySvB3Fu0GEXsOVncGqszJfP/fkxiyxHd/NnUJI="}]},"maintainers":[{"name":"rascarlito","email":"rascarlito@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/axios-cache-adapter_2.1.1_1532348332583_0.5271314979936044"},"_hasShrinkwrap":false},"2.2.0":{"name":"axios-cache-adapter","version":"2.2.0","description":"Caching adapter for axios","homepage":"https://github.com/RasCarlito/axios-cache-adapter","author":{"name":"Carl Ogren","email":"rascarlito@gmail.com","url":"https://github.com/RasCarlito"},"main":"dist/cache.node.js","browser":"dist/cache.js","runkitExampleFilename":"examples/basic.js","keywords":["axios","cache","xhr","request"],"standard":{"ignore":["/dist","/examples"]},"scripts":{"clean":"rimraf dist","lint":"standard | snazzy","lint-fix":"standard --fix src/**/*.js test/**/*.js | snazzy","build":"npm run clean && webpack && NODE_ENV=production webpack && NODE_BUILD_FOR=node webpack && NODE_ENV=production NODE_BUILD_FOR=node webpack","test":"NODE_ENV=test karma start karma.conf.js","watch":"NODE_WATCH=true npm test"},"repository":{"type":"git","url":"git+https://github.com/RasCarlito/axios-cache-adapter.git"},"license":"MIT","devDependencies":{"@babel/core":"^7.1.2","@babel/polyfill":"^7.0.0","@babel/preset-env":"^7.1.0","assert":"^1.4.1","babel-loader":"^8.0.4","codecov":"^3.0.0","html-webpack-plugin":"^3.0.6","husky":"^1.1.2","istanbul-instrumenter-loader":"^3.0.0","karma":"^2.0.0","karma-chrome-launcher":"^2.2.0","karma-coverage":"^1.1.1","karma-coverage-istanbul-reporter":"^1.3.0","karma-html-reporter":"^0.2.7","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.3","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^2.0.3","localforage":"^1.7.2","localforage-memoryStorageDriver":"^0.9.2","mocha":"^5.0.4","puppeteer":"^0.12.0","rimraf":"^2.6.2","size-limit":"^0.11.4","snazzy":"^7.0.0","standard":"^11.0.1","webpack":"^4.1.1","webpack-cli":"^2.0.12"},"dependencies":{"axios":"^0.18.0","lodash":"^4.17.11"},"size-limit":[{"path":"./src/index.js"}],"husky":{"hooks":{"pre-commit":"npm run lint"}},"gitHead":"9680a84ef2e24bd32e72feaec51c1e3a45f7a01b","bugs":{"url":"https://github.com/RasCarlito/axios-cache-adapter/issues"},"_id":"axios-cache-adapter@2.2.0","_npmVersion":"6.4.1","_nodeVersion":"8.11.1","_npmUser":{"name":"rascarlito","email":"rascarlito@gmail.com"},"dist":{"integrity":"sha512-thy8278a9CRrySrS+hSIOeV9YY5Rl66MrZMMSTMdJPJgjMAb/9zd1DZKzDyJ3duodkTURMQAldB69c+BTnavSQ==","shasum":"aa8a9effb129c5074f83069625363a96cf29633a","tarball":"https://registry.npmjs.org/axios-cache-adapter/-/axios-cache-adapter-2.2.0.tgz","fileCount":20,"unpackedSize":662699,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcRs8ZCRA9TVsSAnZWagAAT/gP/A7eunt/I5K4Oh9iV/OS\npTlYbbXoW69UDMmgndhdi6FOKCbuaZmw3bV/1SB4ow4QZWMzMYJlezvOjv/0\nQjq+kKnHwTJ9u7dNXVG8MXxeIaCz/59A+99oiBTWX9j27iNeRFETOzcGFyfC\nWtlGDeQU6JbIwnOdLbqsKPJ8ufURAwwiTHFEfwtOKM/UZa1nCjXlTzBb1olb\neV06WKqTsnbS3JIA/SigIRzLPcpXQ01dCmufs5KZbTsjQQKYP8PytAT9nQZ+\n5eRGez64mAVUvf7PfQYyDexREgNevFQPAQmb6IKhiWlimFS45hWcKtzwrEnJ\nWKuKul5cchn3xjQcbocknps3MRIAvynPdEPShFHzn1z5TC1QdFrpUV0kYdAd\nksG2I3kT3oDEU7+Gkp99onCIvEYIcFdWWNZyySlUOcSXQlQghTSJJIopkDvK\nOBKJhUgAN41kSiOAbIr7YCHsdencIZNALvovmZzHaQpoSUTu++nV/GhKknnr\nx0Ied4EfRL/8hdYHH5lDQ4tYOgATvc258bs94CwhjnAPdgvomO7/Gyrsh/Gm\ni0SsxvBtC1pVjKHdx1G4/dcmCDJAA6dUUm5Xpi01cvv7GwKEamLU2Ziq3WlS\nDBzf8hqAntuWsNMl4urdBT+H3lbKq4MvAYFu1piv6y2q83uMdWbOMeq+5qne\ncHwh\r\n=884q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCgh0iIh/E1+LY3aLWG7MTht7/A/nDjwnJyENbar97JrQIgSHsfJPpJcrsTEXx23OFA31m0L717heuy1gr6FsH+2js="}]},"maintainers":[{"name":"rascarlito","email":"rascarlito@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/axios-cache-adapter_2.2.0_1548144409069_0.5793064220402522"},"_hasShrinkwrap":false},"2.2.1":{"name":"axios-cache-adapter","version":"2.2.1","description":"Caching adapter for axios","homepage":"https://github.com/RasCarlito/axios-cache-adapter","author":{"name":"Carl Ogren","email":"rascarlito@gmail.com","url":"https://github.com/RasCarlito"},"main":"dist/cache.node.js","browser":"dist/cache.js","runkitExampleFilename":"examples/basic.js","keywords":["axios","cache","xhr","request"],"standard":{"ignore":["/dist","/examples"]},"scripts":{"clean":"rimraf dist","lint":"standard | snazzy","lint-fix":"standard --fix src/**/*.js test/**/*.js | snazzy","build":"npm run clean && webpack && NODE_ENV=production webpack && NODE_BUILD_FOR=node webpack && NODE_ENV=production NODE_BUILD_FOR=node webpack","test":"NODE_ENV=test karma start karma.conf.js","watch":"NODE_WATCH=true npm test"},"repository":{"type":"git","url":"git+https://github.com/RasCarlito/axios-cache-adapter.git"},"license":"MIT","devDependencies":{"@babel/core":"^7.1.2","@babel/polyfill":"^7.0.0","@babel/preset-env":"^7.1.0","assert":"^1.4.1","babel-loader":"^8.0.4","codecov":"^3.0.0","html-webpack-plugin":"^3.0.6","husky":"^1.1.2","istanbul-instrumenter-loader":"^3.0.0","karma":"^2.0.0","karma-chrome-launcher":"^2.2.0","karma-coverage":"^1.1.1","karma-coverage-istanbul-reporter":"^1.3.0","karma-html-reporter":"^0.2.7","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.3","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^2.0.3","localforage":"^1.7.2","localforage-memoryStorageDriver":"^0.9.2","mocha":"^5.0.4","puppeteer":"^0.12.0","rimraf":"^2.6.2","size-limit":"^0.11.4","snazzy":"^7.0.0","standard":"^11.0.1","webpack":"^4.1.1","webpack-cli":"^2.0.12"},"dependencies":{"axios":"^0.18.0","lodash":"^4.17.11"},"size-limit":[{"path":"./src/index.js"}],"husky":{"hooks":{"pre-commit":"npm run lint"}},"gitHead":"3721cfc40e00f9e5a752f8d63ea2ea2c6a1b4bb0","bugs":{"url":"https://github.com/RasCarlito/axios-cache-adapter/issues"},"_id":"axios-cache-adapter@2.2.1","_npmVersion":"6.4.1","_nodeVersion":"8.11.1","_npmUser":{"name":"rascarlito","email":"rascarlito@gmail.com"},"dist":{"integrity":"sha512-sihs71yDB+RS3ITucL10u04Qfr7cVXRzw6Uhs1hKLzPuds7piK1PSxJUg/Wa4yGzQhTCAVievb0YV+Mx3G9d7w==","shasum":"8980d5bbb825d57090b0058558500eb32ae775f0","tarball":"https://registry.npmjs.org/axios-cache-adapter/-/axios-cache-adapter-2.2.1.tgz","fileCount":20,"unpackedSize":719256,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcSBNQCRA9TVsSAnZWagAAHdQP/jAEA7iDp8WaovjVKbjt\nM+wFaWg9Bsio+Eg+4wYOGPeec3q9Xgwqi43l5cVcTW4+8PxV+droLUzkxnSE\nkvqWmY22aIV/E2HOpudjRLlIz9Gm/MyKMebH42ppDJJnDak30ncHWWlOEtDe\nhi8tE2fV5ZU4bvvSxHwJfKoFq4COFg25aRJY43RPIIGLXr38wRiOebIkcG0S\nKVKC1om5906GI1aNR6j+4Q88AYCrxrq7BJzzzWOKL1NhaOPhpMkkxYRdnqKt\njqN3/JomXh/eyQebSmHpxBfcOqEqWzvcfWvyqyRmyNQ5em/7M+uG5YaJGFif\n9k2Pw9915JbD4yVIkk2ToxYVirRL5Tz7lioB9ChRgYrzpWFd5vpSNt7j1YGH\ndFQ96AtngnmMWKczY+UaOGABFJHC+cPTCtO4ApX2wgdT4dL7SZNf+MqIfYfL\noX+4j5eU9lh3Rf1SY+iMngA8a+IyvvB057OvF7hJSNI+iuBUT1QI+GZd0Cks\nF1GiFKUvy0aDyenOrLGZevRbbk1EnuCDenHPfQpcKgKwjHiRCOF3b5HGuZUV\nnWN21KHxWo7fVSkTxOm4J9SMh31yyosRsjY1mqk2yMIIPf89WuDefv5wG5vN\nHBo7hA4APfJ+uJ7+f6jpMYlKNZ6n54WgyQXYs29/21bNo5F3RBeb3lnUyX3Z\ni+eR\r\n=er1R\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDi/RGgIionPq+/DRVksNq2VLyJyyiznA1kai2hetwitwIhAMAUSF+zmObBrvIx9st0HF4CHfrWjHoLkkkv+Y7sgiF5"}]},"maintainers":[{"name":"rascarlito","email":"rascarlito@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/axios-cache-adapter_2.2.1_1548227407862_0.5910075788590645"},"_hasShrinkwrap":false},"2.3.0":{"name":"axios-cache-adapter","version":"2.3.0","description":"Caching adapter for axios","homepage":"https://github.com/RasCarlito/axios-cache-adapter","author":{"name":"Carl Ogren","email":"rascarlito@gmail.com","url":"https://github.com/RasCarlito"},"main":"dist/cache.node.js","browser":"dist/cache.js","runkitExampleFilename":"examples/basic.js","keywords":["axios","cache","xhr","request"],"standard":{"ignore":["/dist","/examples"]},"scripts":{"clean":"rimraf dist","lint":"standard | snazzy","lint-fix":"standard --fix src/**/*.js test/**/*.js | snazzy","build":"npm run clean && webpack && NODE_ENV=production webpack && NODE_BUILD_FOR=node webpack && NODE_ENV=production NODE_BUILD_FOR=node webpack","test":"NODE_ENV=test karma start karma.conf.js","watch":"NODE_WATCH=true npm test"},"repository":{"type":"git","url":"git+https://github.com/RasCarlito/axios-cache-adapter.git"},"license":"MIT","devDependencies":{"@babel/core":"^7.1.2","@babel/polyfill":"^7.0.0","@babel/preset-env":"^7.1.0","@tusbar/cache-control":"0.3.1","assert":"^1.4.1","babel-loader":"^8.0.4","codecov":"^3.0.0","html-webpack-plugin":"^3.0.6","husky":"^1.1.2","istanbul-instrumenter-loader":"^3.0.0","karma":"^2.0.0","karma-chrome-launcher":"^2.2.0","karma-coverage":"^1.1.1","karma-coverage-istanbul-reporter":"^1.3.0","karma-html-reporter":"^0.2.7","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.3","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^2.0.3","localforage":"^1.7.2","localforage-memoryStorageDriver":"^0.9.2","mocha":"^5.0.4","mockdate":"^2.0.2","puppeteer":"^0.12.0","rimraf":"^2.6.2","size-limit":"^0.11.4","snazzy":"^7.0.0","standard":"^11.0.1","webpack":"^4.1.1","webpack-cli":"^2.0.12"},"dependencies":{"axios":"^0.18.0","lodash":"^4.17.11"},"size-limit":[{"path":"./src/index.js"}],"husky":{"hooks":{"pre-commit":"npm run lint"}},"gitHead":"698f611af82e88f678dc3519de020048b7373bed","bugs":{"url":"https://github.com/RasCarlito/axios-cache-adapter/issues"},"_id":"axios-cache-adapter@2.3.0","_npmVersion":"6.4.1","_nodeVersion":"8.11.1","_npmUser":{"name":"rascarlito","email":"rascarlito@gmail.com"},"dist":{"integrity":"sha512-6wegNDj1SB8iIR0mHKThNCRV+JytUX/eg1xgwvLCrZI+wVX2AiNr9pXL3rdQeY4b9njDPuV4y4w/k6wMc9ZwNg==","shasum":"9ad37cc30f935111441e21214290b226e61cb6e5","tarball":"https://registry.npmjs.org/axios-cache-adapter/-/axios-cache-adapter-2.3.0.tgz","fileCount":20,"unpackedSize":775745,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcfSQRCRA9TVsSAnZWagAAXFgP/juU+6l3oWlkd3obPZVZ\nCtbxawvxyl4sB2Ej/LB0G+7QgZ45G4TspgdHXHeF9g6TwpSBqsZY101CTtdt\nuYIwegByVSiR8QsmoaLR830pGpsSj7BSfxehcRefZg4MPdZ+J28sZZ75wcRU\n10e3g7tDAXyLKOdmr+h3A83aCs+FcEoKGg2YEFMr9hzGh05iBABzQDUc6cOi\n1mlIoidcr6P8wi5Sjsuha82LLf4JRQM96IA3pegYIiqrvF46/BQ9knc4XYUC\n3F1v1DjicNOXdi4bFHLkf49/o7VejvERUxtk7zu+Fi8LEpb/od+jlz11XQXf\n5i9Q7FVBJW3jfOaPZsR8GBNG9oOahP4Ned2OjBMEFy5vbNwC3m0VXO56Gtv+\nRhUrJTymJtldQnWmnixwATcvsrKwomFqcZG3BlZdUuIsyENqgwwvcFpasJYf\n3ZiWu49oEZDYAEtWX6QAtxyy4P/RavHV47+dY4bV5sbO/rZ1EuK9ljBfCapk\n1o4NA3VHmr124dvtArIwk7giCvWU42Su5D3zyNVr0vbA13Ch/ZmoXWc0eLTp\nN3Eo0tZsn9eS8naQjTdi+v0+wFVZ7t0OjNJkFV9opifVJcpE7CXFRCLgSNhf\nYBlOro7fCuAHqk0sXabUp6DVyMA+a/nEKDhBcIJuneZcLIm8sdVlWP88a8QM\nfvcR\r\n=TaOm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID4r4HHOlLk73nM6j1oACmO4gS35YCkEbf0gGfm5wHJ/AiEArvYBce4AGvXJ2zGxtTL0nK6qWy2MEwEfkbCmF+8cZ9Y="}]},"maintainers":[{"name":"rascarlito","email":"rascarlito@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/axios-cache-adapter_2.3.0_1551705104978_0.17822220728123872"},"_hasShrinkwrap":false},"2.3.1":{"name":"axios-cache-adapter","version":"2.3.1","description":"Caching adapter for axios","homepage":"https://github.com/RasCarlito/axios-cache-adapter","author":{"name":"Carl Ogren","email":"rascarlito@gmail.com","url":"https://github.com/RasCarlito"},"main":"dist/cache.node.js","browser":"dist/cache.js","types":"axios-cache-adapter.d.ts","runkitExampleFilename":"examples/basic.js","keywords":["axios","cache","xhr","request"],"standard":{"ignore":["/dist","/examples"]},"scripts":{"clean":"rimraf dist","lint":"standard | snazzy","lint-fix":"standard --fix src/**/*.js test/**/*.js | snazzy","build":"npm run clean && webpack && NODE_ENV=production webpack && NODE_BUILD_FOR=node webpack && NODE_ENV=production NODE_BUILD_FOR=node webpack","test":"NODE_ENV=test karma start karma.conf.js","watch":"NODE_WATCH=true npm test"},"repository":{"type":"git","url":"git+https://github.com/RasCarlito/axios-cache-adapter.git"},"license":"MIT","devDependencies":{"@babel/core":"^7.1.2","@babel/polyfill":"^7.0.0","@babel/preset-env":"^7.1.0","cache-control-esm":"1.0.0","assert":"^1.4.1","babel-loader":"^8.0.4","codecov":"^3.0.0","html-webpack-plugin":"^3.0.6","husky":"^1.1.2","istanbul-instrumenter-loader":"^3.0.0","karma":"^2.0.0","karma-chrome-launcher":"^2.2.0","karma-coverage":"^1.1.1","karma-coverage-istanbul-reporter":"^1.3.0","karma-html-reporter":"^0.2.7","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.3","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^2.0.3","localforage":"^1.7.2","localforage-memoryStorageDriver":"^0.9.2","mocha":"^5.0.4","mockdate":"^2.0.2","puppeteer":"^0.12.0","rimraf":"^2.6.2","size-limit":"^0.11.4","snazzy":"^7.0.0","standard":"^11.0.1","webpack":"^4.1.1","webpack-cli":"^3.1.1"},"dependencies":{"axios":"^0.18.0","lodash":"^4.17.11"},"size-limit":[{"path":"./src/index.js"}],"husky":{"hooks":{"pre-commit":"npm run lint"}},"gitHead":"9addeacfa8b3313dcbb44200291dc549e60b511f","bugs":{"url":"https://github.com/RasCarlito/axios-cache-adapter/issues"},"_id":"axios-cache-adapter@2.3.1","_npmVersion":"6.4.1","_nodeVersion":"8.11.1","_npmUser":{"name":"rascarlito","email":"rascarlito@gmail.com"},"dist":{"integrity":"sha512-TsPfEMw6JKUPdgWiI7hKQJE2C4NqddvcfwiSTrMeqQ4lofMdUYNfGi0dW7Mub7C4lYS6/5BHo0ZQ7+kxUAJiHQ==","shasum":"5741154654c74ec652fa5a81de68281f301f35b6","tarball":"https://registry.npmjs.org/axios-cache-adapter/-/axios-cache-adapter-2.3.1.tgz","fileCount":20,"unpackedSize":1078221,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc46vZCRA9TVsSAnZWagAAzgUP/0RTOa9RsoPObDR3krJ8\nAH+di/YfelNgxDCtmzqtKwtux1UuhGViS1PBFqFHyP2+OQ+pCCXDrEzTI5Je\nxI70ekZDrW98eIzfw3WTViNBXDPCei+hjKE6z0JXpuaDBAoaecswNSsowPB5\nYIQbmpoggETnOTEjmCETSNH5M8ur1H1duCEtTMHAUXmFGX8LP74ykxXqzcka\n7x07zBSFf7k07FArCKkWGw/QQIR5LhfuiVf9Nv0fF1ym4TWI4wvpeUMhmKq0\nMgJS3ILPmGfAIvMrZj9udPqHy7t+yYyl2rsBAZY+YBe/tmtb/pvuoyQJA//u\neTDZ6vCV11IyXC2M1dITl7k5TypD2aaVH61KqhpLAz47K9JXOp8asU5v/rt5\nfHPyS53fDEUyn+cI76XGq5i4dUpBtBrAVTWQlqFPaj3Q/UeQYbIvFpGGBwnO\nv0Ev0ujCbZeg6CnZOyj15bGhNY6IA7XOLEzP4+2qg7WD1bhEUqjgRrfoL0BD\nqSSGhOeeEjwKkHRpE7D50cISmfunH+wsIE4Kf1FS2Oz63T11c4OEVoam0DO9\niD1JDbPjDy+f52x8GGNZpbSacztoSaHUDyPHyep1+L9DWd5cVoXBttjr5PbT\nWf8YjR6QtPMb69TUtgsACi1ikscwYjJnZgjwxcOtXBUXAtj8328+NpyZqlz3\nlH3L\r\n=q8zh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDt2cNoypAEPRqy6UcnzdKLqN4riHxrjRmLoDXJDpq4OgIgAZ+dtakuGpXSEFR93SQ+FsRwzRfl0dJIXgpu1+woI94="}]},"maintainers":[{"name":"rascarlito","email":"rascarlito@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/axios-cache-adapter_2.3.1_1558424536883_0.6649917458458978"},"_hasShrinkwrap":false},"2.3.2":{"name":"axios-cache-adapter","version":"2.3.2","description":"Caching adapter for axios","homepage":"https://github.com/RasCarlito/axios-cache-adapter","author":{"name":"Carl Ogren","email":"rascarlito@gmail.com","url":"https://github.com/RasCarlito"},"main":"dist/cache.node.js","browser":"dist/cache.js","types":"axios-cache-adapter.d.ts","runkitExampleFilename":"examples/basic.js","keywords":["axios","cache","xhr","request"],"standard":{"ignore":["/dist","/examples"]},"scripts":{"clean":"rimraf dist","lint":"standard | snazzy","lint-fix":"standard --fix src/**/*.js test/**/*.js | snazzy","build":"npm run clean && webpack && NODE_ENV=production webpack && NODE_BUILD_FOR=node webpack && NODE_ENV=production NODE_BUILD_FOR=node webpack","test":"NODE_ENV=test karma start karma.conf.js","watch":"NODE_WATCH=true npm test"},"repository":{"type":"git","url":"git+https://github.com/RasCarlito/axios-cache-adapter.git"},"license":"MIT","devDependencies":{"@babel/core":"^7.1.2","@babel/polyfill":"^7.0.0","@babel/preset-env":"^7.1.0","cache-control-esm":"1.0.0","assert":"^1.4.1","babel-loader":"^8.0.4","codecov":"^3.0.0","html-webpack-plugin":"^3.0.6","husky":"^1.1.2","istanbul-instrumenter-loader":"^3.0.0","karma":"^2.0.0","karma-chrome-launcher":"^2.2.0","karma-coverage":"^1.1.1","karma-coverage-istanbul-reporter":"^1.3.0","karma-html-reporter":"^0.2.7","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.3","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^2.0.3","localforage":"^1.7.2","localforage-memoryStorageDriver":"^0.9.2","mocha":"^5.0.4","mockdate":"^2.0.2","puppeteer":"^0.12.0","rimraf":"^2.6.2","size-limit":"^0.11.4","snazzy":"^7.0.0","standard":"^11.0.1","webpack":"^4.1.1","webpack-cli":"^3.1.1"},"dependencies":{"axios":"^0.18.0","lodash":"^4.17.11"},"size-limit":[{"path":"./src/index.js"}],"husky":{"hooks":{"pre-commit":"npm run lint"}},"gitHead":"70fc386977b6c6adbd84904d01f9ec0bf376ce22","bugs":{"url":"https://github.com/RasCarlito/axios-cache-adapter/issues"},"_id":"axios-cache-adapter@2.3.2","_npmVersion":"6.4.1","_nodeVersion":"8.11.1","_npmUser":{"name":"rascarlito","email":"rascarlito@gmail.com"},"dist":{"integrity":"sha512-//I5iTc4FjG3/+QtoExz7v1We3BfQ8itY8o+fmEDoi46oUZdfoDpI5tFk0RKqsQrUOsqLSOd1zvZ/3tXGoq6KQ==","shasum":"c86ffc44f37f34de5fe4c45a8f99f95447d3af8b","tarball":"https://registry.npmjs.org/axios-cache-adapter/-/axios-cache-adapter-2.3.2.tgz","fileCount":21,"unpackedSize":1081542,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc5ke1CRA9TVsSAnZWagAABzMP/2Yv7wU5sCKOU7wiUTbh\nUe2gW7q3qiGUbiY8LlVFdy7SlVmNmyjfjrpS5eMHG/eh2fyr+gqdngr7wvxR\n59uOzAeJzuApMk2YHyewWN2NkAFIvcOGHN8df75CcwChj290TSjaLsS/Nykv\nYdJ1tRcXOgOoB1tpWxjZs0PDTkR0UhWNll2OJ0CnUf0Z0WQKIDB6efgz5YlO\nT5ELuV9DLrbrREwY0xlkKESaotCJJHrilnFJi7aBr/L9JAjsuj3dh4wGzq1M\njFCXNIIWkyb+nMIEo6ciSc5/PGiVv2juDaUmGPUHTHes56dBKojPV+t1Hj7/\nNQzlLpCYdJ+E/Yhtapi9FiYRdAAwz/JGD0vaL9bcH28yKxjbhgFoAtgExUou\ndiimStThOBrKo3L5xWo+Q6PZpGd7RFcsbVE8lI4vGhs2ubpuVQaPhCDwaTTO\nvD4jpzllD2SD3kBCmZUh8IZdGvYKs5o/SFWAUd4kidnY/WKcuwRjzHS4jnhF\nQNCNaSaPIT54ffKGa2Zgt9dsLBw4zD/i4xfx0DRR5fqBmNLYtloQAGkUHXhN\ndpqAe6no56IByy23+1/kEoD78CVjxp5f4E/5WB0ViPCeq3ARwrElQLrCUtJK\nOGx7fVmzgjC+NQshjQjoSQ3LeADvxETFUDA6lcRiebFT73IL9nnbY5WkU/tU\nFk57\r\n=glgR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAqTB+lr4x40H92pusrXF1olafONM4fXHL1NVmBfQpExAiB40NQVx7zt1W6hcc7ZRQLG8cD8XN5yW6SsGxKfFoxa+A=="}]},"maintainers":[{"name":"rascarlito","email":"rascarlito@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/axios-cache-adapter_2.3.2_1558595509134_0.12400782041641567"},"_hasShrinkwrap":false},"2.3.3":{"name":"axios-cache-adapter","version":"2.3.3","description":"Caching adapter for axios","homepage":"https://github.com/RasCarlito/axios-cache-adapter","author":{"name":"Carl Ogren","email":"rascarlito@gmail.com","url":"https://github.com/RasCarlito"},"main":"dist/cache.node.js","browser":"dist/cache.js","types":"axios-cache-adapter.d.ts","runkitExampleFilename":"examples/basic.js","keywords":["axios","cache","xhr","request"],"standard":{"ignore":["/dist","/examples"]},"scripts":{"clean":"rimraf dist","lint":"standard | snazzy","lint-fix":"standard --fix src/**/*.js test/**/*.js | snazzy","build":"npm run clean && webpack && NODE_ENV=production webpack && NODE_BUILD_FOR=node webpack && NODE_ENV=production NODE_BUILD_FOR=node webpack","test":"NODE_ENV=test karma start karma.conf.js","watch":"NODE_WATCH=true npm test"},"repository":{"type":"git","url":"git+https://github.com/RasCarlito/axios-cache-adapter.git"},"license":"MIT","devDependencies":{"@babel/core":"^7.1.2","@babel/polyfill":"^7.0.0","@babel/preset-env":"^7.1.0","cache-control-esm":"1.0.0","assert":"^1.4.1","babel-loader":"^8.0.4","codecov":"^3.0.0","html-webpack-plugin":"^3.0.6","husky":"^1.1.2","istanbul-instrumenter-loader":"^3.0.0","karma":"^2.0.0","karma-chrome-launcher":"^2.2.0","karma-coverage":"^1.1.1","karma-coverage-istanbul-reporter":"^1.3.0","karma-html-reporter":"^0.2.7","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.3","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^2.0.3","localforage":"^1.7.2","localforage-memoryStorageDriver":"^0.9.2","mocha":"^5.0.4","mockdate":"^2.0.2","puppeteer":"^0.12.0","rimraf":"^2.6.2","size-limit":"^0.11.4","snazzy":"^7.0.0","standard":"^11.0.1","webpack":"^4.1.1","webpack-cli":"^3.1.1"},"dependencies":{"axios":"^0.18.0","lodash":"^4.17.11"},"size-limit":[{"path":"./src/index.js"}],"husky":{"hooks":{"pre-commit":"npm run lint"}},"gitHead":"64ac6013d1cfb21dc1b1328a23b31f1641021384","bugs":{"url":"https://github.com/RasCarlito/axios-cache-adapter/issues"},"_id":"axios-cache-adapter@2.3.3","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"rascarlito","email":"rascarlito@gmail.com"},"dist":{"integrity":"sha512-8sDkMwrW1zXB4J2VxVyjjKocPqCzGRPrqNtKChbkIR/MCpSUVGcdCcJlO3nnsJMAIak/NCCRy8wX5uvNJ6Yj2Q==","shasum":"e35f9b739c3e1559a009763cc441f2c6b2698826","tarball":"https://registry.npmjs.org/axios-cache-adapter/-/axios-cache-adapter-2.3.3.tgz","fileCount":21,"unpackedSize":1081550,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdDGqzCRA9TVsSAnZWagAAaIsP/3rVrE2+osP15eO2C1Z2\nPQK+f9GAo9doldvoBXwmp7ZRq+SuBloOE+luJofv0BMtzov3JrqfX+8yDNPA\n73MtsScUawO5EJMok4J0pPzt1i5Z7adyCNOjMFoW6smd3/M6FTap2F/1lGtr\nBTecpavG6+SHfSX2S4M469jVsS2SJnFjIBsdSGoJN9tFxA9Shp3QVywRdcPo\nKKCnJs7C6E0xQY798pWvUvC4HlBfPHGzeNe4x8p3K3p//kH1zZmTl736D6qJ\nAjJnyTAVITjCRdkskhXLXwrsQohozUyQWA0e6hoT99WVHsr8dhe+vXhiaJwI\nFR8kfVOp+nfc8k7R9F1qnLiH3u56+o6Asxt8KhKjvSx+I8JxAfBaMuezFnW4\n+annF/Ib9m1eIgKfxrCarEsBftRRTMc4t6IGW2bFk8hRiRfw/GXmsfOpswky\nC0ifzwa3E0DvhtforOURXX5IcH0a+DJBhillTtwO6t0+UFAXWGLhTSHSMQFR\noYn6V/coMypHn13DniB8pnaHobWiYXD2O700oKX4oQiC0IHb8fYp02vxd5rO\npsfU1h228XxukBzCgojna+x14PXUsNiJLXR1+opKjaRqdhScVzRguXAOetCn\nxVD9Tx51gcWLcRl1XGuz3eroJ92t3REmCAeSCG40i2XxGnTT7rAMDLpBsDIn\ny6QA\r\n=h7yN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJQ7zLRGn7fOZKgJ6SllkAS9Du5HDNMtdt/ZEqd38uGQIgH2GPPOOOTLBga2ye9c4IsSAqg5YSK3RFVbkKdzsGtog="}]},"maintainers":[{"name":"rascarlito","email":"rascarlito@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/axios-cache-adapter_2.3.3_1561094834893_0.3359703011609325"},"_hasShrinkwrap":false},"3.0.0-beta.0":{"name":"axios-cache-adapter","version":"3.0.0-beta.0","description":"Caching adapter for axios","homepage":"https://github.com/RasCarlito/axios-cache-adapter","author":{"name":"Carl Ogren","email":"rascarlito@gmail.com","url":"https://github.com/RasCarlito"},"main":"dist/cache.node.js","browser":"dist/cache.js","types":"axios-cache-adapter.d.ts","runkitExampleFilename":"examples/basic.js","keywords":["axios","cache","xhr","request"],"standard":{"ignore":["/dist","/examples"],"globals":["URLSearchParams","describe","it","beforeEach"]},"scripts":{"clean":"rimraf dist","lint":"standard | snazzy","lint-fix":"standard --fix src/**/*.js test/**/*.js | snazzy","build":"npm run clean && webpack && NODE_ENV=production webpack && NODE_BUILD_FOR=node webpack && NODE_ENV=production NODE_BUILD_FOR=node webpack","test":"NODE_ENV=test karma start karma.conf.js","watch":"NODE_WATCH=true npm test"},"repository":{"type":"git","url":"git+https://github.com/RasCarlito/axios-cache-adapter.git"},"license":"MIT","devDependencies":{"@babel/core":"^7.1.2","@babel/polyfill":"^7.0.0","@babel/preset-env":"^7.1.0","assert":"^1.4.1","babel-loader":"^8.0.4","cache-control-esm":"1.0.0","codecov":"^3.0.0","contributor-faces":"^1.0.2","html-webpack-plugin":"^3.0.6","husky":"^1.1.2","istanbul-instrumenter-loader":"^3.0.0","karma":"^2.0.0","karma-chrome-launcher":"^2.2.0","karma-coverage":"^1.1.1","karma-coverage-istanbul-reporter":"^1.3.0","karma-html-reporter":"^0.2.7","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.3","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^2.0.3","localforage":"^1.7.2","localforage-memoryStorageDriver":"^0.9.2","mocha":"^5.0.4","mockdate":"^2.0.2","puppeteer":"^0.12.0","rimraf":"^2.6.2","size-limit":"^0.11.4","snazzy":"^7.0.0","standard":"^11.0.1","webpack":"^4.1.1","webpack-cli":"^3.1.1"},"dependencies":{"axios":"0.18.1","lodash":"^4.17.11"},"size-limit":[{"path":"./src/index.js"}],"husky":{"hooks":{"pre-commit":"npm run lint"}},"readme":"# axios-cache-adapter\n[![Build Status](https://travis-ci.org/RasCarlito/axios-cache-adapter.svg?branch=master)](https://travis-ci.org/RasCarlito/axios-cache-adapter) [![codecov](https://codecov.io/gh/RasCarlito/axios-cache-adapter/branch/master/graph/badge.svg)](https://codecov.io/gh/RasCarlito/axios-cache-adapter) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n\nCaching adapter for axios. Store request results in a configurable store to prevent unneeded network requests.\n\n##### Table of contents\n* [Installation](#installation)\n* [Usage](https://github.com/RasCarlito/axios-cache-adapter#usage)\n  * [Instantiate adapter on its own](https://github.com/RasCarlito/axios-cache-adapter#instantiate-adapter-on-its-own)\n  * [Instantiate axios with bound adapter](https://github.com/RasCarlito/axios-cache-adapter#instantiate-axios-with-bound-adapter)\n  * [Override instance config with per request options](https://github.com/RasCarlito/axios-cache-adapter#override-instance-config-with-per-request-options)\n  * [Use localforage as cache store](https://github.com/RasCarlito/axios-cache-adapter#use-localforage-as-cache-store)\n  * [Check if response is served from network or from cache](https://github.com/RasCarlito/axios-cache-adapter#check-if-response-is-served-from-network-or-from-cache)\n  * [Read stale cache data on network error](https://github.com/RasCarlito/axios-cache-adapter#read-stale-cache-data-on-network-error)\n  * [Invalidate cache entries](https://github.com/RasCarlito/axios-cache-adapter#invalidate-cache-entries)\n  * [Use response headers to automatically set `maxAge`](https://github.com/RasCarlito/axios-cache-adapter#use-response-headers-to-automatically-set-maxage)\n* [API](https://github.com/RasCarlito/axios-cache-adapter#api)\n  * [setupCache(options)](https://github.com/RasCarlito/axios-cache-adapter#setupcacheoptions)\n  * [setup(options)](https://github.com/RasCarlito/axios-cache-adapter#setupoptions)\n  * [Per request options](https://github.com/RasCarlito/axios-cache-adapter#per-request-options)\n* [Building](https://github.com/RasCarlito/axios-cache-adapter#building)\n* [Testing](https://github.com/RasCarlito/axios-cache-adapter#testing)\n* [Browser vs Node.js](https://github.com/RasCarlito/axios-cache-adapter#browser-vs-nodejs)\n* [Contributors](https://github.com/RasCarlito/axios-cache-adapter#contributors)\n* [License](https://github.com/RasCarlito/axios-cache-adapter#license)\n\n## Installation\n\nUsing npm\n\n```sh\nnpm install --save axios-cache-adapter\n```\n\nOr bower\n\n```sh\nbower install --save axios-cache-adapter\n```\n\nOr from a CDN like unpkg.com\n\n```html\n<script type=\"text/javascript\" src=\"https://unpkg.com/axios-cache-adapter\"></script>\n```\n\n## Usage\n\nBy default, `axios-cache-adapter` will use `cache-control` and `expires` headers sent from server to determine how long response should be kept in cache. Else, you can set a fixed `maxAge` through through the options.\n\n### Instantiate adapter on its own\n\nYou can instantiate the `axios-cache-adapter` on its own using the `setupCache()` method and then attach the adapter manually to an instance of `axios`.\n\n```js\n// Import dependencies\nimport axios from 'axios'\nimport assert from 'assert'\nimport { setupCache } from 'axios-cache-adapter'\n\n// Create `axios-cache-adapter` instance\nconst cache = setupCache()\n\n// Create `axios` instance passing the newly created `cache.adapter`\nconst api = axios.create({\n  adapter: cache.adapter\n})\n\n// Make a request which will respond with header `cache-control: max-age=60`\napi.get('https://httpbin.org/cache/60').then(response => {\n  // Cached `response` will expire one minute later\n\n  // Do something fantastic with response.data \\o/\n  console.log('Request response:', response)\n\n  // Interacting with the store\n  const length = await cache.store.length()\n\n  console.log('Cache store length:', length)\n})\n\n// Make a request which responds with header `cache-control: no-cache`\napi.get('https://httpbin.org/response-headers?cache-control=no-cache').then(response => {\n  // Response will not come from cache\n  assert.ok(response.request.fromCache !== true)\n\n  // Check that query was excluded from cache\n  assert.ok(response.request.excludedFromCache === true)\n})\n```\n\n_Note: For the `cache-control` header, only the `max-age`, `no-cache`, `no-store` and `must-revalidate` values are interpreted._\n\n### Instantiate axios with bound adapter\n\nYou can use the `setup()` method to get an instance of `axios` pre-configured with the `axios-cache-adapter`. This will remove `axios` as a direct dependency in your code.\n\n```js\n// Import dependencies\nimport { setup } from 'axios-cache-adapter'\n\n// Create `axios` instance with pre-configured `axios-cache-adapter` attached to it\nconst api = setup({\n  // `axios` options\n  baseURL: 'http://some-rest.api',\n\n  // `axios-cache-adapter` options\n  cache: {\n    readHeaders: false,\n    maxAge: 15 * 60 * 1000\n  }\n})\n\n// Send a GET request to some REST api\napi.get('/url').then(async (response) => {\n  // Do something awesome with response.data \\o/\n  console.log('Request response:', response)\n\n  // Interacting with the store, see `localForage` API.\n  const length = await api.cache.length()\n\n  console.log('Cache store length:', length)\n})\n```\n\n### Override instance config with per request options\n\nAfter setting up `axios-cache-adapter` with a specific cache configuration you can override parts of that configuration on individual requests.\n\n```js\nimport { setup } from 'axios-cache-adapter'\n\nconst api = setup({\n  baseURL: 'https://httpbin.org',\n\n  cache: {\n    readHeaders: false,\n    maxAge: 15 * 60 * 1000\n  }\n})\n\n// Use global instance config\napi.get('/get').then((response) => {\n  // Do something awesome with response\n})\n\n// Override `maxAge` and cache URLs with query parameters\napi.get('/get?with=query', {\n  cache: {\n    maxAge: 2 * 60 * 1000 // 2 min instead of 15 min\n  }\n})\n  .then((response) => {\n    // Do something beautiful ;)\n  })\n```\n\n_Note: Not all instance options can be overridden per request, see the [per request options API documentation](https://github.com/RasCarlito/axios-cache-adapter#per-request-options)_\n\n### Use localforage as cache store\n\nYou can give a `localforage` instance to `axios-cache-adapter` which will be used to store cache data instead of the default [in memory](https://github.com/RasCarlito/axios-cache-adapter/blob/master/src/memory.js) store.\n\n_Note: This only works client-side because `localforage` does not work in Node.js_\n\n```js\nimport localforage from 'localforage'\nimport memoryDriver from 'localforage-memoryStorageDriver'\nimport { setup } from 'axios-cache-adapter'\n\n// `async` wrapper to configure `localforage` and instantiate `axios` with `axios-cache-adapter`\nasync function configure () {\n  // Register the custom `memoryDriver` to `localforage`\n  await localforage.defineDriver(memoryDriver)\n\n  // Create `localforage` instance\n  const store = localforage.createInstance({\n    // List of drivers used\n    driver: [\n      localforage.INDEXEDDB,\n      localforage.LOCALSTORAGE,\n      memoryDriver._driver\n    ],\n    // Prefix all storage keys to prevent conflicts\n    name: 'my-cache'\n  })\n\n  // Create `axios` instance with pre-configured `axios-cache-adapter` using a `localforage` store\n  return setup({\n    // `axios` options\n    baseURL: 'http://some-rest.api',\n\n    // `axios-cache-adapter` options\n    cache: {\n      readHeaders: false,\n      maxAge: 15 * 60 * 1000,\n      store // Pass `localforage` store to `axios-cache-adapter`\n    }\n  })\n}\n\nconfigure().then(async (api) => {\n  const response = await api.get('/url')\n\n  // Display something beautiful with `response.data` ;)\n})\n```\n\n### Check if response is served from network or from cache\n\nWhen a response is served from cache a custom `response.request` object is created with a `fromCache` boolean.\n\n```js\n// Import dependencies\nimport assert from 'assert'\nimport { setup } from 'axios-cache-adapter'\n\n// Create `axios` instance with pre-configured `axios-cache-adapter`\nconst api = setup({\n  cache: {\n    readHeaders: false,\n    maxAge: 15 * 60 * 1000\n  }\n})\n\n// Wrap code in an `async` function\nasync function exec () {\n  // First request will be served from network\n  const response = await api.get('http://some-rest.api/url')\n\n  // `response.request` will contain the origin `axios` request object\n  assert.ok(response.request.fromCache !== true)\n\n  // Second request to same endpoint will be served from cache\n  const anotherResponse = await api.get('http://some-rest.api/url')\n\n  // `response.request` will contain `fromCache` boolean\n  assert.ok(anotherResponse.request.fromCache === true)\n}\n\n// Execute our `async` wrapper\nexec()\n```\n\n### Read stale cache data on network error\n\nYou can tell `axios-cache-adapter` to read stale cache data when a network error occurs using the `readOnError` option.\n\n`readOnError` can either be a `Boolean` telling cache adapter to attempt reading stale cache when any network error happens or a `Function` which receives the error and request objects and then returns a `Boolean`.\n\nThe `clearOnStale` option should be set to `false` (which is the default) for `readOnError` to work.\n\n```js\nimport { setup } from 'axios-cache-adapter'\n\nconst api = setup({\n  cache: {\n    // Attempt reading stale cache data when response status is either 4xx or 5xx\n    // `clearOnStale` option needs to be `false` so that we can actually read stale cache data\n    readOnError: (error, request) => {\n      return error.response.status >= 400 && error.response.status < 600\n    }\n  }\n})\n\n// Make a first successful request which will store the response in cache\napi.get('https://httpbin.org/get').then(response => {\n  // Response will not come from cache\n  assert.ok(response.request.fromCache !== true)\n})\n\n// Let's say that the stored data has become stale (default 15min max age has passed)\n// and we make the same request but it results in an internal server error (status=500)\napi.get('https://httpbin.org/get').then(response => {\n  // Response is served from cache\n  assert.ok(response.request.fromCache === true)\n  // We can check that it actually served stale cache data\n  assert.ok(response.request.stale === true)\n}).catch(err => {\n  // Will not execute this because stale cache data was returned\n  // If the attempt at reading stale cache fails, the network error will be thrown and this method executed\n})\n```\n\n_Note: Passing a function to `readOnError` is a smarter thing to do as you get to choose when a stale cache read should be attempted instead of doing it on all kind of errors_\n\n### Invalidate cache entries\n\nBy default, a cache entry will be invalidated when a `POST`, `PUT`, `PATCH` or `DELETE` request is made to the same URL using the following method:\n\n```js\nasync defaultInvalidate (config, request) {\n  const method = request.method.toLowerCase()\n\n  if (method !== 'get') {\n    await config.store.removeItem(config.uuid)\n  }\n}\n```\n\nYou can customize how `axios-cache-adapter` invalidates stored cache entries by providing a custom `invalidate` function.\n\n```js\nimport { setup } from 'axios-cache-adapter'\n\n// Create cached axios instance with custom invalidate method\nconst api = setup({\n  cache: {\n    // Invalidate only when a specific option is passed through config\n    invalidate: async (config, request) => {\n      if (request.clearCacheEntry) {\n        await config.store.removeItem(config.uuid)\n      }\n    }\n  }\n})\n\n// Make a request that will get stored into cache\napi.get('https://httpbin.org/get').then(response => {\n  assert.ok(response.request.fromCache !== true)\n})\n\n// Wait some time\n\n// Make another request to same end point but force cache invalidation\napi.get('https://httpbin.org/get', { clearCacheEntry: true }).then(response => {\n  // Response should not come from cache\n  assert.ok(response.request.fromCache !== true)\n})\n```\n\n## API\n\n### setupCache(options)\n\nCreate a cache adapter instance. Takes an `options` object to configure how the cached requests will be handled,\nwhere they will be stored, etc.\n\n#### Options\n\n```js\n// Options passed to `setupCache()`.\n{\n  // {Boolean} Determine if response headers should be read to set `maxAge` automatically.\n  // Will try to parse `cache-control` or `expires` headers.\n  // This is the default behavior, if you want to manually set `maxAge` then you have to\n  // set this option to `false`.\n  readHeaders: true,\n  // {Number} Maximum time for storing each request in milliseconds,\n  // defaults to 15 minutes when using `setup()`.\n  maxAge: 0,\n  // {Number} Maximum number of cached request (last in, first out queue system),\n  // defaults to `false` for no limit. *Cannot be overridden per request*\n  limit: false,\n  // {Object} An instance of localforage, defaults to a custom in memory store.\n  // *Cannot be overridden per request*\n  store: new MemoryStore(),\n  // {String|Function} Generate a unique cache key for the request.\n  // Will use request url and serialized params by default.\n  key: req => req.url + serializeQuery(req.params),\n  // {Function} Invalidate stored cache. By default will remove cache when\n  // making a `POST`, `PUT`, `PATCH` or `DELETE` query.\n  invalidate: async (cfg, req) => {\n    const method = req.method.toLowerCase()\n    if (method !== 'get') {\n      await cfg.store.removeItem(cfg.uuid)\n    }\n  },\n  // {Array|Function} A list of middlewares which will be executed sequentially to\n  // determine if request should be excluded from cache.\n  // The middlewares receive the cache `config` and the axios `request` object as parameters.\n  exclude: [],\n  // {Boolean} Clear cached item when it is stale.\n  clearOnStale: false,\n  // {Boolean} Clear all cache when a cache write error occurs\n  // (prevents size quota problems in `localStorage`).\n  clearOnError: false,\n  // {Function|Boolean} Determine if stale cache should be read when a network error occurs.\n  readOnError: false,\n  // {Boolean} Ignore cache, will force to interpret cache reads as a `cache-miss`.\n  // Useful to bypass cache for a given request.\n  ignoreCache: false,\n  // {Function|Boolean} Print out debug log to console.\n  debug: false\n}\n```\n\n#### Returns\n\n`setupCache()` returns an object containing the configured `adapter`, the cache `store` and the `config` that is applied to this instance.\n\n### setup(options)\n\nCreate an `axios` instance pre-configured with the cache adapter. Takes an `options` object to configure the cache and\naxios at the same time.\n\n#### Options\n\n```js\n{\n  cache: {\n    // Options passed to the `setupCache()` method\n  }\n\n  // Options passed to `axios.create()` method\n}\n```\n\nAll the other parameters will be passed directly to the [`axios.create`](https://github.com/mzabriskie/axios#creating-an-instance) method.\n\n#### Returns\n\n`setup()` returns an instance of `axios` pre-configured with the cache adapter.\nThe cache `store` is conveniently attached to the `axios` instance as `instance.cache` for easy access.\n\n### Per request options\n\nUsing the same object definition as the `setup` method you can override cache options for individual requests.\n\n```js\napi.get('https://httpbin.org/get', {\n  cache: {\n    // Options override\n  }\n})\n```\n\nAll options except `limit` and `store` can be overridden per request.\n\nAlso the following keys are used internally and therefore should not be set in the options: `adapter`, `uuid`, `acceptStale`.\n\n*Note: Per request override does not work with `axios@0.19.0` as mentioned in [this issue](https://github.com/RasCarlito/axios-cache-adapter/issues/99). Until it is fixed, `axios-cache-adapter` locks the `axios` version to `0.18.1`*\n\n## Building\n\n```sh\nnpm run build\n```\n\nWebpack is used to build [umd](https://github.com/umdjs/umd) versions of the library that are placed in the `dist` folder.\n\n* `cache.js`\n* `cache.min.js`\n* `cache.node.js`\n* `cache.node.min.js`\n\nA different version of `axios-cache-adapter` is generated for node and the browser due to how Webpack 4 uses a `target` to change how the UMD wrapper is generated using `global` or `window`. If you are using the library in node or in your front-end code while using a module bundler (Webpack, rollup, etc) the correct version will be picked up automatically thanks to the `\"main\"` and `\"browser\"` fields in the `package.json`.\n\n`axios-cache-adapter` is developped in ES6+ and uses async/await syntax. It is transpiled to ES5 using `babel` with `preset-env`.\n\n## Testing\n\nTests are executed using [karma](https://github.com/karma-runner/karma).\n\nTo launch a single run tests using ChromeHeadless:\n\n```sh\nnpm test\n```\n\nTo launch tests in watch mode in Chrome for easier debugging with devtools:\n\n```sh\nnpm run watch\n```\n\n## Browser vs Node.js\n\n`axios-cache-adapter` was designed to run in the browser. It does work in nodejs using the [in memory store](https://github.com/RasCarlito/axios-cache-adapter/blob/master/src/memory.js). But storing data in memory is not the best idea.\n\nYou can give a `store` to override the in memory store but it has to comply with the [`localForage`](https://github.com/localForage/localForage) API and `localForage` does not work in nodejs for very good reasons that are better explained in [this issue](https://github.com/localForage/localForage/issues/57).\n\nWorks are in progress to connect `axios-cache-adapter` to [redis](https://redis.io/) as [you can see here](https://github.com/RasCarlito/axios-cache-adapter/pull/98).\n\n\n## Contributors\n\n[//]: contributor-faces\n<a href=\"https://github.com/RasCarlito\"><img src=\"https://avatars1.githubusercontent.com/u/407268?v=4\" title=\"RasCarlito\" width=\"80\" height=\"80\"></a>\n<a href=\"https://github.com/stephanebachelier\"><img src=\"https://avatars2.githubusercontent.com/u/172615?v=4\" title=\"stephanebachelier\" width=\"80\" height=\"80\"></a>\n<a href=\"https://github.com/jahead\"><img src=\"https://avatars2.githubusercontent.com/u/5070464?v=4\" title=\"jahead\" width=\"80\" height=\"80\"></a>\n<a href=\"https://github.com/8enSmith\"><img src=\"https://avatars1.githubusercontent.com/u/798183?v=4\" title=\"8enSmith\" width=\"80\" height=\"80\"></a>\n<a href=\"https://github.com/FMCorz\"><img src=\"https://avatars3.githubusercontent.com/u/240112?v=4\" title=\"FMCorz\" width=\"80\" height=\"80\"></a>\n<a href=\"https://github.com/acidbiscuit\"><img src=\"https://avatars2.githubusercontent.com/u/11949520?v=4\" title=\"acidbiscuit\" width=\"80\" height=\"80\"></a>\n<a href=\"https://github.com/janbaykara\"><img src=\"https://avatars2.githubusercontent.com/u/237556?v=4\" title=\"janbaykara\" width=\"80\" height=\"80\"></a>\n<a href=\"https://github.com/charjac\"><img src=\"https://avatars0.githubusercontent.com/u/2829504?v=4\" title=\"charjac\" width=\"80\" height=\"80\"></a>\n<a href=\"https://github.com/nolde\"><img src=\"https://avatars2.githubusercontent.com/u/12801563?v=4\" title=\"nolde\" width=\"80\" height=\"80\"></a>\n<a href=\"https://github.com/vovk1805\"><img src=\"https://avatars2.githubusercontent.com/u/21268247?v=4\" title=\"vovk1805\" width=\"80\" height=\"80\"></a>\n<a href=\"https://github.com/bluelovers\"><img src=\"https://avatars0.githubusercontent.com/u/167966?v=4\" title=\"bluelovers\" width=\"80\" height=\"80\"></a>\n<a href=\"https://github.com/tejovanthWork\"><img src=\"https://avatars1.githubusercontent.com/u/49153303?v=4\" title=\"tejovanthWork\" width=\"80\" height=\"80\"></a>\n\n[//]: contributor-faces\n\n## License\n\n[MIT © Carl Ogren](https://github.com/RasCarlito/axios-cache-adapter/blob/master/LICENSE)\n","readmeFilename":"README.md","gitHead":"7ce6d4e39c68a02781232df28d455d9dc01447fc","bugs":{"url":"https://github.com/RasCarlito/axios-cache-adapter/issues"},"_id":"axios-cache-adapter@3.0.0-beta.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"rascarlito","email":"rascarlito@gmail.com"},"dist":{"integrity":"sha512-9P2gwbPj/gmM3ZDIUscNAa3dZBjlhwC3W/r8liODSktydLOYQWw5lnPAI2kzhgGlm3lolYH+3rsd+NSka7EVnA==","shasum":"562004e9da1a7f3fe916ab2aa3625d450cec97d7","tarball":"https://registry.npmjs.org/axios-cache-adapter/-/axios-cache-adapter-3.0.0-beta.0.tgz","fileCount":22,"unpackedSize":1099798,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdLPh3CRA9TVsSAnZWagAAlKYQAJAFiIw+qvNQszJw4K+x\n4iF7tEcTZ0erOHD1wrZCM7Dx0DNiY/CA4SCKmBL76m++i9nbg8IrNRDWiMHb\nANjVCBSBCxWD9MFKpdxigpqcmEY0avgyWA5z484tKs9sohfzW3sxdqI31QtV\nS2ijC3uuZeS3nvYIfShpPKQ3h4ZdTP+ruRskm1kAExPgaZc9lRawiY1Q+xfH\nPNNaApecYs7rBOO4SEo6zsVN7MaAtfQP4RzU28jRps+c1BOaskM2kjc532gY\nU4eL2VGfja1uuKvfUG92dIVeOkXeNbeZVhrTcklCYBXIu+Id3vrVeGh3yes8\nYWIzQkKQwlXg7pA8e0phYo5fUhZbyfuCOMp+kVpMM3xsmJMy9jO3/3D579gK\nHPUDeJ8GeJLB43WaORxTvhJ1F9sbQsbvz6ZG9jarhftWhYi3z9yK40gp7vGw\nWPflBcas4nQsvxOmb2gni6/9yLrQsYiYCMutUORAPhvnlQu0P2e2T7yrFPeJ\nDxeXA3VkqnRVeD9cBgyim1Z1y8LnOHF8N/PGgO/zZNv9KQhZz93Tw/HK9SY6\nH71XPFwI21hFxiXotEWRv6y5l2ETYAl/zZPLBn979McrL6aB2w+OHRJQgc1W\nPs+1mI6lMJZXGZuqQIY8GkB9ryJeSTqYrcveryZbkw8G6vcFcgd4/5noCiPJ\nWVGg\r\n=Qnx7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCy6fMTMxSqEiqQeKZ57nKB5UwxAV4k77FKIi6LqXjbSQIgWNkGlvL+0fV3RfoEc7Nkf+AMyzBPJlUjRFaEOACgKNU="}]},"maintainers":[{"name":"rascarlito","email":"rascarlito@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/axios-cache-adapter_3.0.0-beta.0_1563228278462_0.823920119156363"},"_hasShrinkwrap":false},"2.4.0":{"name":"axios-cache-adapter","version":"2.4.0","description":"Caching adapter for axios","homepage":"https://github.com/RasCarlito/axios-cache-adapter","author":{"name":"Carl Ogren","email":"rascarlito@gmail.com","url":"https://github.com/RasCarlito"},"main":"dist/cache.node.js","browser":"dist/cache.js","types":"axios-cache-adapter.d.ts","runkitExampleFilename":"examples/basic.js","keywords":["axios","cache","xhr","request"],"standard":{"ignore":["/dist","/examples"]},"scripts":{"clean":"rimraf dist","lint":"standard | snazzy","lint-fix":"standard --fix src/**/*.js test/**/*.js | snazzy","build":"npm run clean && webpack && NODE_ENV=production webpack && NODE_BUILD_FOR=node webpack && NODE_ENV=production NODE_BUILD_FOR=node webpack","test":"NODE_ENV=test karma start karma.conf.js","watch":"NODE_WATCH=true npm test"},"repository":{"type":"git","url":"git+https://github.com/RasCarlito/axios-cache-adapter.git"},"license":"MIT","devDependencies":{"@babel/core":"^7.1.2","@babel/polyfill":"^7.0.0","@babel/preset-env":"^7.1.0","assert":"^1.4.1","babel-loader":"^8.0.4","cache-control-esm":"1.0.0","codecov":"^3.0.0","html-webpack-plugin":"^3.0.6","husky":"^1.1.2","istanbul-instrumenter-loader":"^3.0.0","karma":"^2.0.0","karma-chrome-launcher":"^2.2.0","karma-coverage":"^1.1.1","karma-coverage-istanbul-reporter":"^1.3.0","karma-html-reporter":"^0.2.7","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.3","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^2.0.3","localforage":"^1.7.2","localforage-memoryStorageDriver":"^0.9.2","mocha":"^5.0.4","mockdate":"^2.0.2","puppeteer":"^0.12.0","redis-mock":"^0.44.0","rimraf":"^2.6.2","size-limit":"^0.11.4","snazzy":"^7.0.0","standard":"^11.0.1","webpack":"^4.1.1","webpack-cli":"^3.1.1"},"dependencies":{"axios":"0.18.1","cache-control-esm":"1.0.0","lodash":"^4.17.11"},"size-limit":[{"path":"./src/index.js"}],"husky":{"hooks":{"pre-commit":"npm run lint"}},"gitHead":"0b6f7bbd4e5be125eba5c7eaadcf0ef5c266bfe8","bugs":{"url":"https://github.com/RasCarlito/axios-cache-adapter/issues"},"_id":"axios-cache-adapter@2.4.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"rascarlito","email":"rascarlito@gmail.com"},"dist":{"integrity":"sha512-aLYENztdHt3EVjhZw5InOpyV3ARQAsOZ/073tRHEho6EwEJUjBwWeeqkkXAYbjPEzviDh6BKId3q45Wh0o0IZw==","shasum":"d2a9ef7d85ee57af4e6fd71baa3d778e0c575405","tarball":"https://registry.npmjs.org/axios-cache-adapter/-/axios-cache-adapter-2.4.0.tgz","fileCount":24,"unpackedSize":1266270,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdTHM7CRA9TVsSAnZWagAAscQQAIAHi/RxFmu0W8fzZpq7\npg4om5YhKtxoOLjNaR9YiNO391KRQumLO62bHg2QNkepkiLW2L+ZIZZp033i\nDesXvQEwXURB5xTnSTs+DVnBeq88iBzlzw3HC7fppiX5zwkRI3xm7UNDZ/yh\ngetvWzfplzpR8vwi8B7leJvS6VCkmD6Ra8GepmlRsuJwYqFeYdPWzG2FrH16\nzpwSpFkN/Xw3H9v0/UoJBJo/ys2BEGbXID185c53tHTVETRt1vXAORvf/gJY\n753hvPyi/lnl6QcaWD/7dOqh+5EJh1i71z3QXH/t4BlLiRhvX/uZENVWpNrT\nlgKrmTzyGSZoX8o8OIUcfSfWgql6Hd6E3/ixPmHNHLJ6WfKGCmaCJm7zptR+\n6a/vTfHotF88pZy/wxCDYdTcoIPyFeC6SY9BoJPN9BoTQlho56e1p5C/GCvw\nRYfzZAt0999rBHbDZr5xK6al++Odo6boE5bawufAzN7I1An2k7zJlffcN8vc\neW606vKi37MUls9GZVFQGJwc8GcQn+yuJmzJ/Rql4UobFE7xcufJyuCCxnJA\nbGmG1i5CmFXwvEKCmCFLmb4YxhrJLRfBKtZVha/ffMapnH/Zj6bPAfYgGI4D\npTn1lpNxdSIsrtcar3uivBZfKBk9usq5Eqvkc7V5EFWmh+0np9YpWBhikW8C\nqXHQ\r\n=CSWs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBAiAlrEu+imm7rPdy90JsOa0U43hlbUNlhwDMIB+58kAiEA/f/fhPKCGV0yb7YjngsZ93Rz04rH3rh8npiRH5mQsWQ="}]},"maintainers":[{"name":"rascarlito","email":"rascarlito@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/axios-cache-adapter_2.4.0_1565291322287_0.6997304446469543"},"_hasShrinkwrap":false},"2.4.1":{"name":"axios-cache-adapter","version":"2.4.1","description":"Caching adapter for axios","homepage":"https://github.com/RasCarlito/axios-cache-adapter","author":{"name":"Carl Ogren","email":"rascarlito@gmail.com","url":"https://github.com/RasCarlito"},"main":"dist/cache.node.js","browser":"dist/cache.js","types":"axios-cache-adapter.d.ts","runkitExampleFilename":"examples/basic.js","keywords":["axios","cache","xhr","request"],"standard":{"ignore":["/dist","/examples"]},"scripts":{"clean":"rimraf dist","lint":"standard | snazzy","lint-fix":"standard --fix src/**/*.js test/**/*.js | snazzy","build":"npm run clean && webpack && NODE_ENV=production webpack && NODE_BUILD_FOR=node webpack && NODE_ENV=production NODE_BUILD_FOR=node webpack","test":"NODE_ENV=test karma start karma.conf.js","watch":"NODE_WATCH=true npm test"},"repository":{"type":"git","url":"git+https://github.com/RasCarlito/axios-cache-adapter.git"},"license":"MIT","devDependencies":{"@babel/core":"^7.1.2","@babel/polyfill":"^7.0.0","@babel/preset-env":"^7.1.0","assert":"^1.4.1","babel-loader":"^8.0.4","cache-control-esm":"1.0.0","codecov":"^3.0.0","html-webpack-plugin":"^3.0.6","husky":"^1.1.2","istanbul-instrumenter-loader":"^3.0.0","karma":"^2.0.0","karma-chrome-launcher":"^2.2.0","karma-coverage":"^1.1.1","karma-coverage-istanbul-reporter":"^1.3.0","karma-html-reporter":"^0.2.7","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.3","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^2.0.3","localforage":"^1.7.2","localforage-memoryStorageDriver":"^0.9.2","mocha":"^5.0.4","mockdate":"^2.0.2","puppeteer":"^0.12.0","redis-mock":"^0.44.0","rimraf":"^2.6.2","size-limit":"^0.11.4","snazzy":"^7.0.0","standard":"^11.0.1","webpack":"^4.1.1","webpack-cli":"^3.1.1"},"dependencies":{"axios":"0.18.1","cache-control-esm":"1.0.0","lodash":"^4.17.11"},"size-limit":[{"path":"./src/index.js"}],"husky":{"hooks":{"pre-commit":"npm run lint"}},"gitHead":"7d5efd95dea233812eeaf8d8a58f815cf597343d","bugs":{"url":"https://github.com/RasCarlito/axios-cache-adapter/issues"},"_id":"axios-cache-adapter@2.4.1","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"rascarlito","email":"rascarlito@gmail.com"},"dist":{"integrity":"sha512-RTqieW2OjRyEqzWr3cJjNIG8J7SwoPkW0JIkc5OQaJ1n35yBJ4HgqiZC+O56YmIicUPaDTXq8kdtGA9O5B+/fQ==","shasum":"c9b736dae5fe17a5e12c2a2d0a595c3bf990ebd3","tarball":"https://registry.npmjs.org/axios-cache-adapter/-/axios-cache-adapter-2.4.1.tgz","fileCount":24,"unpackedSize":1377025,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdWpOLCRA9TVsSAnZWagAA3dUP/R5zpdJTUTB1RQggebXu\n+LjfC2589xMxSShCDbb6JX6iMilOtMHqN5e0xiEdl9/PN6XYRNzA0/grSfcS\nb0KDxmvKlXiNJMliYhHfF8wOxdFJaK9lais9IRwVn4g6jstS+fUM57Iis9Gm\n1XOuYlaPsX6vluYZQPaMo2lJafrZYgcY3YUP401Gc77xwk4CIxHZ92HNwHfz\nFXct9JzlnodUc8wrSOi5Y3M0CIlQDD2w09o5aorVe2Wo2AMBzfX+p13N6QLw\nyJKNMGWVTqc7pPd/u2+gXH/UydA5huz+NZKzXHkEdM7thw1ZYG0jr34iytU4\nYFKiVY00WNzv2sMW+f6It8P8ijegUT+0oq89csParVBJ6zFCpcRvGjA8bcHf\nOo5Mb/Hh8VQKnRGfejBWjv4sNPSxWocCI/ZLhgF+oTOKnzx7WGHF6i0mbSYx\nOuWeDVpdWREKDSVqN2EB7LKdmrKiWRXSQm44j2/HqmEX9oSKP8c6g0trCuvj\nEpjAHmTNzAYHxsr2kAsNezvSOa0oAhCbTOE8ny5jYI+I4dcfMxwZlFqWPxul\npErMRBnnswlDLviMoS0lYCmrUoaZESyFESE7BdUoFKWjwjSBr72AK5Lviosb\n4VHRx/HPm2bzs8oAxw91zYoqQtgN4ZOelnyGbLcvxoux7wCViaJQcXxWqc5G\nA3SE\r\n=HPlM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB91UYxtFmUkLj353tIEWEiK6muSrB073I6nXTgHAODDAiB6tMVv745ssMN/aiVbngBRQXM323m6FA4HM37KQu3vNA=="}]},"maintainers":[{"name":"rascarlito","email":"rascarlito@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/axios-cache-adapter_2.4.1_1566217098515_0.7487858501237246"},"_hasShrinkwrap":false},"2.5.0":{"name":"axios-cache-adapter","version":"2.5.0","description":"Caching adapter for axios","homepage":"https://github.com/RasCarlito/axios-cache-adapter","author":{"name":"Carl Ogren","email":"rascarlito@gmail.com","url":"https://github.com/RasCarlito"},"main":"dist/cache.node.js","browser":"dist/cache.js","types":"axios-cache-adapter.d.ts","runkitExampleFilename":"examples/basic.js","keywords":["axios","cache","xhr","request"],"standard":{"ignore":["/dist","/examples"]},"scripts":{"clean":"rimraf dist","lint":"standard | snazzy","lint-fix":"standard --fix src/**/*.js test/**/*.js | snazzy","build":"npm run clean && webpack && NODE_ENV=production webpack && NODE_BUILD_FOR=node webpack && NODE_ENV=production NODE_BUILD_FOR=node webpack","test":"NODE_ENV=test karma start karma.conf.js","watch":"NODE_WATCH=true npm test"},"repository":{"type":"git","url":"git+https://github.com/RasCarlito/axios-cache-adapter.git"},"license":"MIT","devDependencies":{"@babel/core":"^7.1.2","@babel/polyfill":"^7.0.0","@babel/preset-env":"^7.1.0","assert":"^1.4.1","babel-loader":"^8.0.4","cache-control-esm":"1.0.0","codecov":"^3.0.0","html-webpack-plugin":"^3.0.6","husky":"^1.1.2","istanbul-instrumenter-loader":"^3.0.0","karma":"^2.0.0","karma-chrome-launcher":"^2.2.0","karma-coverage":"^1.1.1","karma-coverage-istanbul-reporter":"^1.3.0","karma-html-reporter":"^0.2.7","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.3","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^2.0.3","localforage":"^1.7.2","localforage-memoryStorageDriver":"^0.9.2","mocha":"^5.0.4","mockdate":"^2.0.2","puppeteer":"^0.12.0","redis-mock":"^0.44.0","rimraf":"^2.6.2","size-limit":"^0.11.4","snazzy":"^7.0.0","standard":"^11.0.1","webpack":"^4.1.1","webpack-cli":"^3.1.1","axios":"0.18.1"},"dependencies":{"cache-control-esm":"1.0.0","lodash":"^4.17.11"},"peerDependencies":{"axios":"0.18.1"},"size-limit":[{"path":"./src/index.js"}],"husky":{"hooks":{"pre-commit":"npm run lint"}},"gitHead":"b49888c98c32df7a17ba388bab84ae5d68407d21","bugs":{"url":"https://github.com/RasCarlito/axios-cache-adapter/issues"},"_id":"axios-cache-adapter@2.5.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"rascarlito","email":"rascarlito@gmail.com"},"dist":{"integrity":"sha512-YcMPdMoqmSLoZx7A5YD/PdYGuX6/Y9M2tHBhaIXvXrPeGgNnbW7nb3+uArWlT53WGHLfclnu2voMmS7jGXVg6A==","shasum":"e68be61e8c1cd7f31e4e7cfcbfd0435404ae67ef","tarball":"https://registry.npmjs.org/axios-cache-adapter/-/axios-cache-adapter-2.5.0.tgz","fileCount":25,"unpackedSize":1003108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdz/y2CRA9TVsSAnZWagAAmvIP/RvuCMqqFW9WkhhQlC+D\n12L+xN21gb0ZvRJisyy4I6q6rM2SXxupNwqQ1W1J+LPE2M+zSFuifI+le81z\nxmhhDSNgpCm6n0U2xd/1lVnRuirekE7B5zz1OiNYgpp9jzjUzI8ltd5pw/22\nkdvsz54QFsnOqvIZbzZOhw9zgKoIEzwF9TuUWoxvNnhUdz4PMzn6SOBZ4ZJU\n46ACkfWhP5bwTuVCrh/e7YT23H2nuOTWIF+86jc1IkkWFg60/kkOefHjYB8K\nRLNy7aC27PVDvY0hbJhiHZLYlsXumjUye5f7AoiWFuUWA+zI9nyhLZcnjIVI\nedHuGzwEWw+dfo1e3Pg9d5JkVl4FJ5tlKfSDiekyMrwhJZSkpVYbd/RqnqyS\n1Pb6frzKnsnkiO+kk0g4HChnfo4QPitaWCksRAbEuAOdxd7eVKkDP2MeZfSf\n0vGq9ztiJKQvzcDEnmW5NLAMR3pAoZJrtBDtorcJMkfE05Se8SFFwKYPQsPI\ntbTEoGGliCj/ifp9DwOC3KvdLQCrHfMLflqHZ3drUbs8gfHdajrw1Qw7DxRb\ncq5+zI4tKeGql+EeyxrrDxnSOWFvprqhs9k1rdjt6Ko4bIsjUCRP3DdqLJvH\ngSKVSSP8JbRZZdVdiDuCDtfbTj1FXbkyu1uXAizx6xCGKDPQCBaIJufER/Ls\n7GB2\r\n=4fUA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEMNxanSWLvwwD+UaDNMwmTzyWRb5LuEJu7Rtq+5QtOUAiEA3V2ccRkYBfHdXv+jwHgB212nR0bgKzwcfi+sROtku3s="}]},"maintainers":[{"name":"rascarlito","email":"rascarlito@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/axios-cache-adapter_2.5.0_1573911733727_0.5453433539608712"},"_hasShrinkwrap":false},"2.6.0":{"name":"axios-cache-adapter","version":"2.6.0","description":"Caching adapter for axios","homepage":"https://github.com/RasCarlito/axios-cache-adapter","author":{"name":"Carl Ogren","email":"rascarlito@gmail.com","url":"https://github.com/RasCarlito"},"main":"dist/cache.node.js","browser":"dist/cache.js","types":"axios-cache-adapter.d.ts","runkitExampleFilename":"examples/basic.js","keywords":["axios","cache","xhr","request"],"standard":{"ignore":["/dist","/examples"]},"scripts":{"clean":"rimraf dist","lint":"standard | snazzy","lint-fix":"standard --fix src/**/*.js test/**/*.js | snazzy","build":"npm run clean && webpack && NODE_ENV=production webpack && NODE_BUILD_FOR=node webpack && NODE_ENV=production NODE_BUILD_FOR=node webpack","test":"NODE_ENV=test karma start karma.conf.js","watch":"NODE_WATCH=true npm test"},"repository":{"type":"git","url":"git+https://github.com/RasCarlito/axios-cache-adapter.git"},"license":"MIT","devDependencies":{"@babel/core":"^7.1.2","@babel/polyfill":"^7.0.0","@babel/preset-env":"^7.1.0","assert":"^1.4.1","axios":"~0.21.1","babel-loader":"^8.0.4","cache-control-esm":"1.0.0","codecov":"^3.0.0","html-webpack-plugin":"^3.0.6","husky":"^1.1.2","istanbul-instrumenter-loader":"^3.0.0","karma":"^2.0.0","karma-chrome-launcher":"^3.1.0","karma-coverage":"^1.1.1","karma-coverage-istanbul-reporter":"^1.3.0","karma-html-reporter":"^0.2.7","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.3","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^2.0.3","localforage":"^1.7.2","localforage-memoryStorageDriver":"^0.9.2","lodash":"^4.17.11","mocha":"^5.0.4","mockdate":"^2.0.2","puppeteer":"^3.1.0","redis-mock":"^0.49.0","rimraf":"^2.6.2","size-limit":"^4.0.0","snazzy":"^7.0.0","standard":"^14.3.1","webpack":"^4.1.1","webpack-bundle-analyzer":"^4.4.0","webpack-cli":"^3.1.1"},"dependencies":{"cache-control-esm":"1.0.0","md5":"^2.2.1"},"peerDependencies":{"axios":"~0.21.1"},"size-limit":[{"path":"./src/index.js"}],"husky":{"hooks":{"pre-commit":"npm run lint"}},"gitHead":"5690cdb0d37d3a4888de7788fbd8ca4c20aada4c","bugs":{"url":"https://github.com/RasCarlito/axios-cache-adapter/issues"},"_id":"axios-cache-adapter@2.6.0","_nodeVersion":"12.18.4","_npmVersion":"6.14.6","dist":{"integrity":"sha512-Jgal9SuXgUWIqrK/0HElNCpfC337Oavho3zsM0iiY8OkwMVCAPtLg5QWeTiHOKM6Io8+KPjaiQvwOf9pKB5pqw==","shasum":"ec78d6ae47ba005447f0b706fb2c86174ea44674","tarball":"https://registry.npmjs.org/axios-cache-adapter/-/axios-cache-adapter-2.6.0.tgz","fileCount":25,"unpackedSize":1318114,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgGQ+cCRA9TVsSAnZWagAACmUQAJ6F5HJqWpuaQrjEdmM5\nToQcowxgqZjEiqP2NH5YKhTr5uG/Yl9dBbkCs7xamWaERSesXR9qWy6QNI9Z\nzISNuvkHuNsY6hL1jO8QrQitnYWc8N+ktYvlR4jEOFUfWqDYLGFQdSoUpLc8\n0Z/YkHZN8r6RrUFRC4Rlpn8GYxqqW3nRCgetmuO4SNNkmJ0M8oSyMXwl2AKN\nW8WUnUJKB0Xl6rMfYxFwByNut+vywkabUrKWChmQ7poKHKuZDcavZFxP5/Cn\nk/hmSmivTza+LrCLkaOFALDyRyvhZUDa0QysGJa8FxOvqBRZOL5NvqZq+iCj\ngd9dZ0xgImFkshetF6kgavC9hnV8Jk7/WdQoyyKhf9fFxnXQxVjIS1A8XGa4\n79pLfXvjHxjRd8KRanqAlI1lbDmOEL1rdaxGXOOOoGhqN5wjhvAf4lQHtyGM\nLu/Pk1MvpvJxkTFr8Bu1Z7oU9Y2NLYsWMqBJ9Ci7+Q0Fh3qmTzsaHM4w1kmI\nKmHrEHJWV6QJhFBE1Mhd0Kak5x3uCgUN/CM7GHIhrkQG9wLvQK3NmYradchi\nADFutTMI+xJsiJysCJDldDikUKBDifjCFuzFSnETMsELF1VkIRCpt8iMDJ9w\nOHuhEpyhHVydyEu0uqNQCjAUyObx1Xg3XX+3IaxmFpfKxcdM46S4zHelSUcz\n/m3U\r\n=6G+7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEsMskRz7wGM4M6oqBQ7Z/7deFVObvuThloqxsLz9xsSAiEAnBiYVcaZET10Y2UC7mRGThBtMIjrCrwvk1/3pBNain0="}]},"_npmUser":{"name":"rascarlito","email":"rascarlito@gmail.com"},"directories":{},"maintainers":[{"name":"rascarlito","email":"rascarlito@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/axios-cache-adapter_2.6.0_1612255132063_0.9236728438436768"},"_hasShrinkwrap":false},"2.7.0":{"name":"axios-cache-adapter","version":"2.7.0","description":"Caching adapter for axios","homepage":"https://github.com/RasCarlito/axios-cache-adapter","author":{"name":"Carl Ogren","email":"rascarlito@gmail.com","url":"https://github.com/RasCarlito"},"main":"dist/cache.node.js","browser":"dist/cache.js","types":"axios-cache-adapter.d.ts","runkitExampleFilename":"examples/basic.js","keywords":["axios","cache","xhr","request"],"standard":{"ignore":["/dist","/examples"]},"scripts":{"clean":"rimraf dist","lint":"standard | snazzy","lint-fix":"standard --fix src/**/*.js test/**/*.js | snazzy","build":"npm run clean && webpack && NODE_ENV=production webpack && NODE_BUILD_FOR=node webpack && NODE_ENV=production NODE_BUILD_FOR=node webpack","test":"NODE_ENV=test karma start karma.conf.js","watch":"NODE_WATCH=true npm test"},"repository":{"type":"git","url":"git+https://github.com/RasCarlito/axios-cache-adapter.git"},"license":"MIT","devDependencies":{"@babel/core":"^7.1.2","@babel/polyfill":"^7.0.0","@babel/preset-env":"^7.1.0","assert":"^1.4.1","axios":"~0.21.1","babel-loader":"^8.0.4","cache-control-esm":"1.0.0","codecov":"^3.0.0","html-webpack-plugin":"^3.0.6","husky":"^1.1.2","istanbul-instrumenter-loader":"^3.0.0","karma":"^2.0.0","karma-chrome-launcher":"^3.1.0","karma-coverage":"^1.1.1","karma-coverage-istanbul-reporter":"^1.3.0","karma-html-reporter":"^0.2.7","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.3","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^2.0.3","localforage":"^1.7.2","localforage-memoryStorageDriver":"^0.9.2","lodash":"^4.17.11","mocha":"^5.0.4","mockdate":"^2.0.2","puppeteer":"^3.1.0","redis-mock":"^0.49.0","rimraf":"^2.6.2","size-limit":"^4.0.0","snazzy":"^7.0.0","standard":"^14.3.1","webpack":"^4.1.1","webpack-bundle-analyzer":"^4.4.0","webpack-cli":"^3.1.1"},"dependencies":{"cache-control-esm":"1.0.0","md5":"^2.2.1"},"peerDependencies":{"axios":"~0.21.1"},"size-limit":[{"path":"./src/index.js"}],"husky":{"hooks":{"pre-commit":"npm run lint"}},"gitHead":"d5b317eb1f6c95a69ca974f5b2d53105a8154e21","bugs":{"url":"https://github.com/RasCarlito/axios-cache-adapter/issues"},"_id":"axios-cache-adapter@2.7.0","_nodeVersion":"12.18.4","_npmVersion":"6.14.6","dist":{"integrity":"sha512-itggIo9i8tnsBFnniNh8+7RxXfdCKZT+cEvyjzBdU8IIyudpj4WyrY7288KE8MICs6+u7YFRVlLZi3vvXufz8w==","shasum":"3da2871840634457cd449d485a781aecc630a035","tarball":"https://registry.npmjs.org/axios-cache-adapter/-/axios-cache-adapter-2.7.0.tgz","fileCount":26,"unpackedSize":1350632,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgGm/ACRA9TVsSAnZWagAAJ14P/j7h/Qg2G6n7fds0/dnS\nJp1+vVvhCkLXKJlrEIrbuvaB57NAI37l92MABPGWXdqBdVn/iSn4MmtY9pqH\nIl8FumdKgbF6iXGiRiHKbEPEBiT+Me2FI5bCTQPzDritE4NpFuZvUlHg2sq3\nJiP4SqR7tOqkaLEjbWN6tWkr69++18+i8gxrFqJD+yTupFwjL6Fh2eJgj4Zz\nk4zWtQNhY6UHo/WPC8HV4jZwrbLNbVId4xS5vf8jnGH2xkmgc/NfeppNFIdf\n3Na1EU0DqHT6Ip8mGcBLv+jNRUightXQN4CI7CAfXQaQOTsjaNIY2aFu0BJs\nkMOpAuiX4Kd0IWm+94Aj0dvpBYYVqIS5O/wCKHUB0E/LytIu5iOC+Y2xWUI9\nOa1hGtXAg9KU5EYGDRQlaVXZn/nW+1sISnanfLgExCrU5w3P6OAUjIFF2UKF\nBI2SmUHsbfbYy7+72W982zBbBloLNQzkD3sxdRj6aJlmUQpois70kUAtHD6/\n4w6NR9d8ypzCHIXzr5/u8cb+/oDokXbmOniNUoMVr62bppx+CGH0ps+pkMY2\njr3CcJbWULdvmBbxBhb3j6KsJySfT2I5nL6PPNYqsIF0SW3tWOg/p4Sga4Pw\nIC9cRILd1rtR5Fu5R23a6w1Wnw4myYL8xqWbv3cjBkn1Uwj6j7MBpR1IB5bI\nQn3W\r\n=arwB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDGmfbUxhCxX6hPiUcyrvwwezWtlqCEWER+KmVTzhgBvQIgc5WItTeGmgYTOvJcrY9EMoqv/USV1QfhJBT1WyQjPVE="}]},"_npmUser":{"name":"rascarlito","email":"rascarlito@gmail.com"},"directories":{},"maintainers":[{"name":"rascarlito","email":"rascarlito@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/axios-cache-adapter_2.7.0_1612345279760_0.29775234577611553"},"_hasShrinkwrap":false},"2.7.1":{"name":"axios-cache-adapter","version":"2.7.1","description":"Caching adapter for axios","homepage":"https://github.com/RasCarlito/axios-cache-adapter","author":{"name":"Carl Ogren","email":"rascarlito@gmail.com","url":"https://github.com/RasCarlito"},"main":"dist/cache.node.js","browser":"dist/cache.js","types":"axios-cache-adapter.d.ts","runkitExampleFilename":"examples/basic.js","keywords":["axios","cache","xhr","request"],"standard":{"ignore":["/dist","/examples"]},"scripts":{"clean":"rimraf dist","lint":"standard | snazzy","lint-fix":"standard --fix src/**/*.js test/**/*.js | snazzy","build":"npm run clean && webpack && NODE_ENV=production webpack && NODE_BUILD_FOR=node webpack && NODE_ENV=production NODE_BUILD_FOR=node webpack","test":"NODE_ENV=test karma start karma.conf.js","watch":"NODE_WATCH=true npm test"},"repository":{"type":"git","url":"git+https://github.com/RasCarlito/axios-cache-adapter.git"},"license":"MIT","devDependencies":{"@babel/core":"^7.1.2","@babel/polyfill":"^7.0.0","@babel/preset-env":"^7.1.0","assert":"^1.4.1","axios":"~0.21.1","babel-loader":"^8.0.4","cache-control-esm":"1.0.0","codecov":"^3.0.0","html-webpack-plugin":"^3.0.6","husky":"^1.1.2","istanbul-instrumenter-loader":"^3.0.0","karma":"^2.0.0","karma-chrome-launcher":"^3.1.0","karma-coverage":"^1.1.1","karma-coverage-istanbul-reporter":"^1.3.0","karma-html-reporter":"^0.2.7","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.3","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^2.0.3","localforage":"^1.7.2","localforage-memoryStorageDriver":"^0.9.2","lodash":"^4.17.11","mocha":"^5.0.4","mockdate":"^2.0.2","puppeteer":"^3.1.0","redis-mock":"^0.49.0","rimraf":"^2.6.2","size-limit":"^4.0.0","snazzy":"^7.0.0","standard":"^14.3.1","webpack":"^4.1.1","webpack-bundle-analyzer":"^4.4.0","webpack-cli":"^3.1.1"},"dependencies":{"cache-control-esm":"1.0.0","md5":"^2.2.1"},"peerDependencies":{"axios":"~0.21.1"},"size-limit":[{"path":"./src/index.js"}],"husky":{"hooks":{"pre-commit":"npm run lint"}},"gitHead":"23f7da02cd840631ef4919dfb2ea76c555745c21","bugs":{"url":"https://github.com/RasCarlito/axios-cache-adapter/issues"},"_id":"axios-cache-adapter@2.7.1","_nodeVersion":"12.14.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-UKS/sKDzoAPJZnq0pTxY/67OkZ2xyIOYIbIgs0UyqmkZx1HU4tJMCQkYTU+DriPPUNzicRNQVAuHgdQ9egsaZw==","shasum":"9d092ce5e7083aeff4d0a9a3634b1eece359cd6d","tarball":"https://registry.npmjs.org/axios-cache-adapter/-/axios-cache-adapter-2.7.1.tgz","fileCount":26,"unpackedSize":1354922,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPK6SCRA9TVsSAnZWagAAeIEQAJNjOE6GTuzaYOonQ+A/\nhnCSE8Ptwgjjt0URqlHNKtfHS3CBGkVqbgOMTsVnJ6omGe7UjdYHZd+A7ULm\nV5vv8tuUNVnx0ruqT+yswdOHWmkQANNOz1254Zenm+JU25jUU705K1Db8WDZ\nxmvvpRMJbMLUJuHVYMHP2R9VGtoaIkvDqmDK7MdDL8IwaAaQngfhW66tp/2F\ndbDN1yipm6jXMJIV3r5BIUtvWIQTHYV+H27IYlO5PEw3t2WzoLOyYp8ZYmCC\nUJ7dB/5aVUuZVauecwmXg11O7kzkUzFN2l8PWS3gupN7sTIVu6IvTgANIkR5\nXIoNu/PeP9cZsVtBWD7PjYr5m5ed1HrB/wxfAEPVHXQCDZxjVJ/tBQbaupYL\nixjBLbAu551YmbZ8pFAMHhHdFVcNj3nNk5WLb8bgxEgv+STCgvVDb6ITETb+\nYgh7keF3SjVnkpUmjNkQ3O38C1GVL4/Y3V3cndXq28uohQuXhLljoNpl4uuM\nLRPkWBCwD2kJmYUy78pLwLhyA3ObOixxg5+o4AlmqSQz06Q4p1ZTnea/qR4N\nqQeibm8OKs19ivRyzWkzmuAa443Y1Ay6SWSxIlgc2Pbf79LhtGJP9kxwALnG\nDEDfryxBeObMv1rnhN3MLbMD+P09V8/zub7ASArfqxQOQvke+cbsUxuL3HfO\nRMeg\r\n=UKd3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDgJGMSDYZmMa3FgsSVWFq245e8ni6aHol7ps53UeqZnAiBreV5/NUxAE4QsKz0X+8UUuZiI7qWAZxbAaAkzXxfZRw=="}]},"_npmUser":{"name":"rascarlito","email":"rascarlito@gmail.com"},"directories":{},"maintainers":[{"name":"rascarlito","email":"rascarlito@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/axios-cache-adapter_2.7.1_1614589585812_0.16422161185278528"},"_hasShrinkwrap":false},"2.7.2":{"name":"axios-cache-adapter","version":"2.7.2","description":"Caching adapter for axios","homepage":"https://github.com/RasCarlito/axios-cache-adapter","author":{"name":"Carl Ogren","email":"rascarlito@gmail.com","url":"https://github.com/RasCarlito"},"main":"dist/cache.node.js","browser":"dist/cache.js","types":"axios-cache-adapter.d.ts","runkitExampleFilename":"examples/basic.js","keywords":["axios","cache","xhr","request"],"standard":{"ignore":["/dist","/examples"]},"scripts":{"clean":"rimraf dist","lint":"standard | snazzy","lint-fix":"standard --fix src/**/*.js test/**/*.js | snazzy","build":"npm run clean && webpack && NODE_ENV=production webpack && NODE_BUILD_FOR=node webpack && NODE_ENV=production NODE_BUILD_FOR=node webpack","test":"NODE_ENV=test karma start karma.conf.js","watch":"NODE_WATCH=true npm test"},"repository":{"type":"git","url":"git+https://github.com/RasCarlito/axios-cache-adapter.git"},"license":"MIT","devDependencies":{"@babel/core":"^7.1.2","@babel/polyfill":"^7.0.0","@babel/preset-env":"^7.1.0","assert":"^1.4.1","axios":"~0.21.1","babel-loader":"^8.0.4","cache-control-esm":"1.0.0","codecov":"^3.0.0","html-webpack-plugin":"^3.0.6","husky":"^1.1.2","istanbul-instrumenter-loader":"^3.0.0","karma":"^2.0.0","karma-chrome-launcher":"^3.1.0","karma-coverage":"^1.1.1","karma-coverage-istanbul-reporter":"^1.3.0","karma-html-reporter":"^0.2.7","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.3","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^2.0.3","localforage":"^1.7.2","localforage-memoryStorageDriver":"^0.9.2","lodash":"^4.17.11","mocha":"^5.0.4","mockdate":"^2.0.2","puppeteer":"^3.1.0","redis-mock":"^0.49.0","rimraf":"^2.6.2","size-limit":"^4.0.0","snazzy":"^7.0.0","standard":"^14.3.1","webpack":"^4.1.1","webpack-bundle-analyzer":"^4.4.0","webpack-cli":"^3.1.1"},"dependencies":{"cache-control-esm":"1.0.0","md5":"^2.2.1"},"peerDependencies":{"axios":"~0.21.1"},"size-limit":[{"path":"./src/index.js"}],"husky":{"hooks":{"pre-commit":"npm run lint"}},"gitHead":"2573d6e46198610a39be54d7484ca19c40098c37","bugs":{"url":"https://github.com/RasCarlito/axios-cache-adapter/issues"},"_id":"axios-cache-adapter@2.7.2","_nodeVersion":"12.14.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-g+h3CVcrpCl39Hmnh+/TqqDdUUGJQkWNEEyuaPryU8ubL4hJpSZYCQjy4h153doas1I+YxjZetvH9tQoNMNxBQ==","shasum":"71e38728eacdbeb4a05d8bccdc98d29c01ec2814","tarball":"https://registry.npmjs.org/axios-cache-adapter/-/axios-cache-adapter-2.7.2.tgz","fileCount":26,"unpackedSize":1354923,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPhtMCRA9TVsSAnZWagAAo3wP/3CEhVc0Znz9V7IjNIUs\n5SDofU+sd3HBqxOn0YvJbCEKRnN8LTFPM1iPw6aJ6CLYk6yGGn6X24WCOtAk\nGeyTs3cFd4crJySxcRgrRt4wSA2e3r2Ub0U36Z997J0toVCGZzWfOHayElaO\nqtspnVlEWMFp/B/RPkNmUmhye3D5n58pE6Ufr2Cny1NsLHJqIvrhvu2VaeEV\ng6Nqz+T8Wvvung/X8NTx1raKx9gxE9BCcEo2fJTVFYOM+c3XJfPrf7/3KSpc\nluw2bRRWCtaDIl4Zie29o+na4pzVKQCHMfn6MqOzDMNlnakpCd1Q+PfLrv/R\nR4CNHqfZ8rAAHvnfM4NAikeJknrhTQOvkWfkn3BaLBDB8/bNFn3DGRlClsrd\nIPUj64WFlPxveJiyrLHRNYXhcVa6OyqXxxzBz46mIT9SxFBgBlWBpc+hER9G\nkS4olcoFElTvtLiVCuM5kpGIurpW7IPw8g38gm8ZeTQ7jxWblMxSdg15wfKN\n3+o/2DzEN3oH4HF996MNKOtHinM/OZe7QgnmoNEZlQD7URijkia7gDsAIxIM\npUzmp5czh5c3OPLPVG20Bg5vkM3ySP530R+MOdVYTK0C/oswpgUYmbWqsqyK\nW9uoj1UYxaAPTdB+T+9J1s7Vi3TR/hOta19mZwXNqVSK/lbMewwomc8KMCjt\n7vTX\r\n=gVZd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA8b0seK1G5L0Os9/yTr9GW5iF1CXI/Tzcyn+Ye4iSxhAiEArOhfV3wzDkDOqhJOfvW/XRi0+T8eJoPHU4W/W7/J+QE="}]},"_npmUser":{"name":"rascarlito","email":"rascarlito@gmail.com"},"directories":{},"maintainers":[{"name":"rascarlito","email":"rascarlito@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/axios-cache-adapter_2.7.2_1614682955379_0.7339225698250817"},"_hasShrinkwrap":false},"2.7.3":{"name":"axios-cache-adapter","version":"2.7.3","description":"Caching adapter for axios","homepage":"https://github.com/RasCarlito/axios-cache-adapter","author":{"name":"Carl Ogren","email":"rascarlito@gmail.com","url":"https://github.com/RasCarlito"},"main":"dist/cache.node.js","browser":"dist/cache.js","types":"axios-cache-adapter.d.ts","runkitExampleFilename":"examples/basic.js","keywords":["axios","cache","xhr","request"],"standard":{"ignore":["/dist","/examples"]},"scripts":{"clean":"rimraf dist","lint":"standard | snazzy","lint-fix":"standard --fix src/**/*.js test/**/*.js | snazzy","build":"npm run clean && webpack && NODE_ENV=production webpack && NODE_BUILD_FOR=node webpack && NODE_ENV=production NODE_BUILD_FOR=node webpack","test":"NODE_ENV=test karma start karma.conf.js","watch":"NODE_WATCH=true npm test"},"repository":{"type":"git","url":"git+https://github.com/RasCarlito/axios-cache-adapter.git"},"license":"MIT","devDependencies":{"@babel/core":"^7.1.2","@babel/polyfill":"^7.0.0","@babel/preset-env":"^7.1.0","assert":"^1.4.1","axios":"~0.21.1","babel-loader":"^8.0.4","cache-control-esm":"1.0.0","codecov":"^3.0.0","html-webpack-plugin":"^3.0.6","husky":"^1.1.2","istanbul-instrumenter-loader":"^3.0.0","karma":"^2.0.0","karma-chrome-launcher":"^3.1.0","karma-coverage":"^1.1.1","karma-coverage-istanbul-reporter":"^1.3.0","karma-html-reporter":"^0.2.7","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.3","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^2.0.3","localforage":"^1.7.2","localforage-memoryStorageDriver":"^0.9.2","lodash":"^4.17.11","mocha":"^5.0.4","mockdate":"^2.0.2","puppeteer":"^3.1.0","redis-mock":"^0.49.0","rimraf":"^2.6.2","size-limit":"^4.0.0","snazzy":"^7.0.0","standard":"^14.3.1","webpack":"^4.1.1","webpack-bundle-analyzer":"^4.4.0","webpack-cli":"^3.1.1"},"dependencies":{"cache-control-esm":"1.0.0","md5":"^2.2.1"},"peerDependencies":{"axios":"~0.21.1"},"size-limit":[{"path":"./src/index.js"}],"husky":{"hooks":{"pre-commit":"npm run lint"}},"gitHead":"2d51cee4070ff88f2272533f9593fd41a392f52c","bugs":{"url":"https://github.com/RasCarlito/axios-cache-adapter/issues"},"_id":"axios-cache-adapter@2.7.3","_nodeVersion":"12.14.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-A+ZKJ9lhpjthOEp4Z3QR/a9xC4du1ALaAsejgRGrH9ef6kSDxdFrhRpulqsh9khsEnwXxGfgpUuDp1YXMNMEiQ==","shasum":"0d1eefa0f25b88f42a95c7528d7345bde688181d","tarball":"https://registry.npmjs.org/axios-cache-adapter/-/axios-cache-adapter-2.7.3.tgz","fileCount":26,"unpackedSize":1354965,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgP11mCRA9TVsSAnZWagAAfbIP/AzPC22CEwtVdntZpcTx\n2tcyw1OVGqQK7tB0QNTnpqY4Du5E977/MWWX3JZ81GiwFPz4EBFtaac5LCjP\nmcWY3kcqacx5zjW7HctoUuyfjt5mhCH4p9baeaOeKkI1Mg980l9gOCo4tgYo\nHYotp8iX6ytwQGnEsxKWK+eZNteabcMemyBUjCXxKMSHkenbhIWND5FM2TZ6\n90mXjqzlg5LNUTuvwAUOaVgZx7MUr+/UPNyqYpe6BmDrT4drpERz6+LhLcCz\nVCC3AYAge3HyjfALBJelvDZYGKsRCDeVsFjRuj5oiHux1yooixE2U8OOzFpI\nJ62gcsKevmmuivpgN1VcMWNdDBrujPFEwv0YWYf9gDmkRQ/xrl/RFRc7GSNq\nBStG1rBhqUcEz2mKGe4EHrJ2PG7+jZ8IdJH9kIYH0EVc7guEYF8Ia1b+KVEJ\nCf4rB4/suVfWqLwlugngRNUqjWMg0v2lx6w2sblHphalJrBSupi6q68+vBuR\nssMLQnGsGiemlHv34ZxfRi2lYVxhiFiBwIorJB4179h/AnH7A23JeGa2L7RQ\nacXkY5kYjjDvENZGf0KXQ84rE1BxRcs7i2yV7XJb5rKfNRECEqMK+M/lgEzQ\nk/jdpQYB0hKRxW9vrlnQyKT4BigvBJGABkS2UltvUiBpUVGzzcSw2zePt2yM\nxkDM\r\n=n4IJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC072pPKhRpsemKsc1MCqWoS+s4bRndWWPefyjlQEAiPQIhAPPffBcO5BXHl+CMflmWYugp8AlSZXcQW/nLErqftQA4"}]},"_npmUser":{"name":"rascarlito","email":"rascarlito@gmail.com"},"directories":{},"maintainers":[{"name":"rascarlito","email":"rascarlito@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/axios-cache-adapter_2.7.3_1614765414165_0.03617996228572773"},"_hasShrinkwrap":false}},"readme":"# :rocket: axios-cache-adapter [![Build Status](https://travis-ci.org/RasCarlito/axios-cache-adapter.svg?branch=master)](https://travis-ci.org/RasCarlito/axios-cache-adapter) [![codecov](https://codecov.io/gh/RasCarlito/axios-cache-adapter/branch/master/graph/badge.svg)](https://codecov.io/gh/RasCarlito/axios-cache-adapter) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n\n> Caching adapter for axios. Store request results in a configurable store to prevent unneeded network requests.\n\nAdapted from [superapi-cache](https://github.com/stephanebachelier/superapi-cache)\nby [@stephanebachelier](https://github.com/stephanebachelier)\n\n## Install\n\nUsing npm\n\n```sh\nnpm install --save axios-cache-adapter\n```\n\nOr bower\n\n```sh\nbower install --save axios-cache-adapter\n```\n\nOr from a CDN like unpkg.com\n\n```html\n<script type=\"text/javascript\" src=\"https://unpkg.com/axios-cache-adapter\"></script>\n```\n\n## Usage\n\n**Important note:** Only `GET` request results are cached by default. Executing a request using any method listed in `exclude.methods` will invalidate the cache for the given URL.\n\n### Instantiate adapter on its own\n\nYou can instantiate the `axios-cache-adapter` on its own using the `setupCache()` method and then attach the adapter manually to an instance of `axios`.\n\n```js\n// Import dependencies\nimport axios from 'axios'\nimport { setupCache } from 'axios-cache-adapter'\n\n// Create `axios-cache-adapter` instance\nconst cache = setupCache({\n  maxAge: 15 * 60 * 1000\n})\n\n// Create `axios` instance passing the newly created `cache.adapter`\nconst api = axios.create({\n  adapter: cache.adapter\n})\n\n// Send a GET request to some REST api\napi({\n  url: 'http://some-rest.api/url',\n  method: 'get'\n}).then(async (response) => {\n  // Do something fantastic with response.data \\o/\n  console.log('Request response:', response)\n\n  // Interacting with the store, see `localForage` API.\n  const length = await cache.store.length()\n\n  console.log('Cache store length:', length)\n})\n```\n\n### Instantiate axios with bound adapter\n\nYou can use the `setup()` method to get an instance of `axios` pre-configured with the `axios-cache-adapter`. This will remove `axios` as a direct dependency in your code.\n\n```js\n// Import dependencies\nimport { setup } from 'axios-cache-adapter'\n\n// Create `axios` instance with pre-configured `axios-cache-adapter` attached to it\nconst api = setup({\n  // `axios` options\n  baseURL: 'http://some-rest.api',\n\n  // `axios-cache-adapter` options\n  cache: {\n    maxAge: 15 * 60 * 1000\n  }\n})\n\n// Send a GET request to some REST api\napi.get('/url').then(async (response) => {\n  // Do something awesome with response.data \\o/\n  console.log('Request response:', response)\n\n  // Interacting with the store, see `localForage` API.\n  const length = await api.cache.length()\n\n  console.log('Cache store length:', length)\n})\n```\n\n### Override instance config with per request options\n\nAfter setting up `axios-cache-adapter` with a specific cache configuration you can override parts of that configuration on individual requests.\n\n```js\nimport { setup } from 'axios-cache-adapter'\n\nconst api = setup({\n  baseURL: 'https://httpbin.org',\n\n  cache: {\n    maxAge: 15 * 60 * 1000\n  }\n})\n\n// Use global instance config\napi.get('/get').then((response) => {\n  // Do something awesome with response\n})\n\n// Override `maxAge` and cache URLs with query parameters\napi.get('/get?with=query', {\n  cache: {\n    maxAge: 2 * 60 * 1000, // 2 min instead of 15 min\n    exclude: { query: false }\n  }\n})\n  .then((response) => {\n    // Do something beautiful ;)\n  })\n```\n\n_Note: Not all instance options can be overridden per request, see the API documentation at the end of this readme_\n\n### Cache POST request results\n\nYou can allow `axios-cache-adapter` to cache the results of a request using (almost) any HTTP method by modifying the `exclude.methods` list.\n\n```js\nimport { setup } from 'axios-cache-adapter\n\nconst api = setup({\n  baseURL: 'https://httpbin.org',\n\n  cache: {\n    exclude: {\n      // Only exclude PUT, PATCH and DELETE methods from cache\n      methods: ['put', 'patch', 'delete']\n    }\n  }\n})\n\napi.post('/post').then((response) => {\n  // POST request has been cached \\o/\n})\n```\n\n**Note:** the request method is not used in the cache store key by default, therefore with the above setup, making a `GET` or `POST` request will respond with the same cache.\n\n### Use localforage as cache store\n\nYou can give a `localforage` instance to `axios-cache-adapter` which will be used to store cache data instead of the default [in memory](https://github.com/RasCarlito/axios-cache-adapter/blob/master/src/memory.js) store.\n\n_Note: This only works client-side because `localforage` does not work in Node.js_\n\n```js\nimport localforage from 'localforage'\nimport memoryDriver from 'localforage-memoryStorageDriver'\nimport { setup } from 'axios-cache-adapter'\n\n// `async` wrapper to configure `localforage` and instantiate `axios` with `axios-cache-adapter`\nasync function configure () {\n  // Register the custom `memoryDriver` to `localforage`\n  await localforage.defineDriver(memoryDriver)\n\n  // Create `localforage` instance\n  const forageStore = localforage.createInstance({\n    // List of drivers used\n    driver: [\n      localforage.INDEXEDDB,\n      localforage.LOCALSTORAGE,\n      memoryDriver._driver\n    ],\n    // Prefix all storage keys to prevent conflicts\n    name: 'my-cache'\n  })\n\n  // Create `axios` instance with pre-configured `axios-cache-adapter` using a `localforage` store\n  return setup({\n    // `axios` options\n    baseURL: 'http://some-rest.api',\n\n    // `axios-cache-adapter` options\n    cache: {\n      maxAge: 15 * 60 * 1000,\n      store: forageStore // Pass `localforage` store to `axios-cache-adapter`\n    }\n  })\n}\n\nconfigure().then(async (api) => {\n  const response = await api.get('/url')\n\n  // Display something beautiful with `response.data` ;)\n})\n```\n\n\n\n### Use redis as cache store\n\nYou can give a `RedisStore` instance to `axios-cache-adapter` which will be used to store cache data instead of the default [in memory](https://github.com/RasCarlito/axios-cache-adapter/blob/master/src/memory.js) store.\n\n_Note: This only works server-side_\n\n```js\nconst { setup, RedisStore } = require('axios-cache-adapter')\nconst redis = require('redis')\n\nconst client = redis.createClient({\n  url: 'REDIS_URL',\n})\nconst store = new RedisStore(client)\nconst api = setup({\n  // `axios` options\n  baseURL: 'http://some-rest.api',\n  // `axios-cache-adapter` options\n  cache: {\n    maxAge: 15 * 60 * 1000,\n    store // Pass `RedisStore` store to `axios-cache-adapter`\n  }\n})\n\nconst response = await api.get('/url')\n```\n\n\n#### Use Redis Default Store as Cache Store\n\nYou can give a `RedisDefaultStore` instance to `axios-cache-adapter` which will be used to store cache data in Redis using the default commands instead of hash commands.\n\n_Note: This only works server-side_\n\n```js\nconst { setup, RedisDefaultStore } = require('axios-cache-adapter')\nconst redis = require('redis')\n\nconst client = redis.createClient({\n  url: 'REDIS_URL',\n})\nconst store = new RedisDefaultStore(client, {\n  prefix: 'namespace_as_prefix' // optional\n})\nconst api = setup({\n  // `axios` options\n  baseURL: 'http://some-rest.api',\n  // `axios-cache-adapter` options\n  cache: {\n    maxAge: 15 * 60 * 1000,\n    store // Pass `RedisDefaultStore` store to `axios-cache-adapter`\n  }\n})\n\nconst response = await api.get('/url')\n```\n\n### Check if response is served from network or from cache\n\nWhen a response is served from cache a custom `response.request` object is created with a `fromCache` boolean.\n\n```js\n// Import dependencies\nimport assert from 'assert'\nimport { setup } from 'axios-cache-adapter'\n\n// Create `axios` instance with pre-configured `axios-cache-adapter`\nconst api = setup({\n  cache: {\n    maxAge: 15 * 60 * 1000\n  }\n})\n\n// Wrap code in an `async` function\nasync function exec () {\n  // First request will be served from network\n  const response = await api.get('http://some-rest.api/url')\n\n  // `response.request` will contain the origin `axios` request object\n  assert.ok(response.request.fromCache !== true)\n\n  // Second request to same endpoint will be served from cache\n  const anotherResponse = await api.get('http://some-rest.api/url')\n\n  // `response.request` will contain `fromCache` boolean\n  assert.ok(anotherResponse.request.fromCache === true)\n}\n\n// Execute our `async` wrapper\nexec()\n```\n\n### Read stale cache data on network error\n\nYou can tell `axios-cache-adapter` to read stale cache data when a network error occurs using the `readOnError` option.\n\n`readOnError` can either be a `Boolean` telling cache adapter to attempt reading stale cache when any network error happens or a `Function` which receives the error and request objects and then returns a `Boolean`.\n\nBy default `axios-cache-adapter` clears stale cache data automatically, this would conflict with activating the `readOnError` option, so the `clearOnStale` option should be set to `false`.\n\n```js\nimport { setup } from 'axios-cache-adapter'\n\nconst api = setup({\n  cache: {\n    // Attempt reading stale cache data when response status is either 4xx or 5xx\n    readOnError: (error, request) => {\n      return error.response.status >= 400 && error.response.status < 600\n    },\n    // Deactivate `clearOnStale` option so that we can actually read stale cache data\n    clearOnStale: false\n  }\n})\n\n// Make a first successful request which will store the response in cache\napi.get('https://httpbin.org/get').then(response => {\n  // Response will not come from cache\n  assert.ok(response.request.fromCache !== true)\n})\n\n// Let's say that the stored data has become stale (default 15min max age has passed)\n// and we make the same request but it results in an internal server error (status=500)\napi.get('https://httpbin.org/get').then(response => {\n  // Response is served from cache\n  assert.ok(response.request.fromCache === true)\n  // We can check that it actually served stale cache data\n  assert.ok(response.request.stale === true)\n}).catch(err => {\n  // Will not execute this because stale cache data was returned\n  // If the attempt at reading stale cache fails, the network error will be thrown and this method executed\n})\n```\n\n_Note: Passing a function to `readOnError` is a smarter thing to do as you get to choose when a stale cache read should be attempted instead of doing it on all kind of errors_\n\n### Invalidate cache entries\n\nUsing the default `invalidation` method, a cache entry will be invalidated if a request is made using one of the methods listed in `exclude.methods`.\n\n```js\nasync function defaultInvalidate (config, request) {\n  const method = request.method.toLowerCase()\n\n  if (config.exclude.methods.includes(method)) {\n    await config.store.removeItem(config.uuid)\n  }\n}\n```\n\nYou can customize how `axios-cache-adapter` invalidates stored cache entries by providing a custom `invalidate` function.\n\n```js\nimport { setup } from 'axios-cache-adapter'\n\n// Create cached axios instance with custom invalidate method\nconst api = setup({\n  cache: {\n    // Invalidate only when a specific option is passed through config\n    invalidate: async (config, request) => {\n      if (request.clearCacheEntry) {\n        await config.store.removeItem(config.uuid)\n      }\n    }\n  }\n})\n\n// Make a request that will get stored into cache\napi.get('https://httpbin.org/get').then(response => {\n  assert.ok(response.request.fromCache !== true)\n})\n\n// Wait some time\n\n// Make another request to same end point but force cache invalidation\napi.get('https://httpbin.org/get', { clearCacheEntry: true }).then(response => {\n  // Response should not come from cache\n  assert.ok(response.request.fromCache !== true)\n})\n```\n\n### Use response headers to automatically set `maxAge`\n\nWhen you set the `readHeaders` option to `true`, the adapter will try to read `cache-control` or `expires` headers to automatically set the `maxAge` option for the given request.\n\n```js\nimport assert from 'assert'\nimport { setup } from 'axios-cache-adapter'\n\nconst api = setup({\n  cache: {\n    // Tell adapter to attempt using response headers\n    readHeaders: true,\n    // For this example to work we disable query exclusion\n    exclude: { query: false }\n  }\n})\n\n// Make a request which will respond with header `cache-control: max-age=60`\napi.get('https://httpbin.org/cache/60').then(response => {\n  // Cached `response` will expire one minute later\n})\n\n// Make a request which responds with header `cache-control: no-cache`\napi.get('https://httpbin.org/response-headers?cache-control=no-cache').then(response => {\n  // Response will not come from cache\n  assert.ok(response.request.fromCache !== true)\n\n  // Check that query was excluded from cache\n  assert.ok(response.request.excludedFromCache === true)\n})\n```\n\n_Note: For the `cache-control` header, only the `max-age`, `no-cache` and `no-store` values are interpreted._\n\n## API\n\n### setupCache(options)\n\nCreate a cache adapter instance. Takes an `options` object to configure how the cached requests will be handled,\nwhere they will be stored, etc.\n\n#### Options\n\n```js\n// Options passed to `setupCache()`.\n{\n  // {Number} Maximum time for storing each request in milliseconds,\n  // defaults to 15 minutes when using `setup()`.\n  maxAge: 0,\n  // {Number} Maximum number of cached request (last in, first out queue system),\n  // defaults to `false` for no limit. *Cannot be overridden per request*\n  limit: false,\n  // {Object} An instance of localforage, defaults to a custom in memory store.\n  // *Cannot be overridden per request*\n  store: new MemoryStore(),\n  // {String|Function} Generate a unique cache key for the request.\n  // Will use request url and serialized params by default.\n  key: req => req.url + serializeQuery(req.params),\n  // {Function} Invalidate stored cache. By default will remove cache when\n  // making a request with method not `GET`, `POST`, `PUT`, `PATCH` or `DELETE` query.\n  invalidate: async (cfg, req) => {\n    const method = req.method.toLowerCase()\n    if (method !== 'get') {\n      await cfg.store.removeItem(cfg.uuid)\n    }\n  },\n  // {Object} Define which kind of requests should be excluded from cache.\n  exclude: {\n    // {Array} List of regular expressions to match against request URLs.\n    paths: [],\n    // {Boolean} Exclude requests with query parameters.\n    query: true,\n    // {Function} Method which returns a `Boolean` to determine if request\n    // should be excluded from cache.\n    filter: null,\n    // {Array} HTTP methods which will be excluded from cache.\n    // Defaults to `['post', 'patch', 'put', 'delete']`\n    // Any methods listed will also trigger cache invalidation while using the default `config.invalidate` method.\n    //\n    // Note: the HEAD method is always excluded (hard coded).\n    // the OPTIONS method is ignored by this library as it is automatically handled by browsers/clients to resolve cross-site request permissions\n    methods: ['post', 'patch', 'put', 'delete']\n  },\n  // {Boolean} Clear cached item when it is stale.\n  clearOnStale: true,\n  // {Boolean} Clear all cache when a cache write error occurs\n  // (prevents size quota problems in `localStorage`).\n  clearOnError: true,\n  // {Function|Boolean} Determine if stale cache should be read when a network error occurs.\n  readOnError: false,\n  // {Boolean} Determine if response headers should be read to set `maxAge` automatically.\n  // Will try to parse `cache-control` or `expires` headers.\n  readHeaders: false,\n  // {Boolean} Ignore cache, will force to interpret cache reads as a `cache-miss`.\n  // Useful to bypass cache for a given request.\n  ignoreCache: false,\n  // {Function|Boolean} Print out debug log to console.\n  debug: false\n}\n```\n\n#### Returns\n\n`setupCache()` returns an object containing the configured `adapter`, the cache `store` and the `config` that is applied to this instance.\n\n### setup(options)\n\nCreate an `axios` instance pre-configured with the cache adapter. Takes an `options` object to configure the cache and\naxios at the same time.\n\n#### Options\n\n```js\n{\n  cache: {\n    // Options passed to the `setupCache()` method\n  }\n\n  // Options passed to `axios.create()` method\n}\n```\n\nAll the other parameters will be passed directly to the [`axios.create`](https://github.com/mzabriskie/axios#creating-an-instance) method.\n\n#### Returns\n\n`setup()` returns an instance of `axios` pre-configured with the cache adapter.\nThe cache `store` is conveniently attached to the `axios` instance as `instance.cache` for easy access.\n\n\n### RedisStore(client, [, hashKey])\n\nRedisStore allow you to cache requests on server using [redis](https://redis.io/).\nCreate a `RedisStore` instance. Takes `client` (`RedisClient`) and optional `hashKey` (name of hashSet to be used in redis).\n\n#### client\n\n```js\n    // Using redis client https://github.com/NodeRedis/node_redis\n    // We have tested it with node_redis v.2.8.0 but it's supposed to work smoothly with the comming releases.\n    const redis = require(\"redis\")\n    const client = redis.createClient()\n```\n\n#### Returns\n\n`new RedisStore()` returns an instance of `RedisStore` to be passed to setupCache() as `store` in config object.\n\n### Per request options\n\nUsing the same object definition as the `setup` method you can override cache options for individual requests.\n\n```js\napi.get('https://httpbin.org/get', {\n  cache: {\n    // Options override\n  }\n})\n```\n\nAll options except `limit` and `store` can be overridden per request.\n\nAlso the following keys are used internally and therefore should not be set in the options: `adapter`, `uuid`, `acceptStale`.\n\n## Building\n\n```sh\nnpm run build\n```\n\nWebpack is used to build [umd](https://github.com/umdjs/umd) versions of the library that are placed in the `dist` folder.\n\n* `cache.js`\n* `cache.min.js`\n* `cache.node.js`\n* `cache.node.min.js`\n\nA different version of `axios-cache-adapter` is generated for node and the browser due to how Webpack 4 uses a `target` to change how the UMD wrapper is generated using `global` or `window`. If you are using the library in node or in your front-end code while using a module bundler (Webpack, rollup, etc) the correct version will be picked up automatically thanks to the `\"main\"` and `\"browser\"` fields in the `package.json`.\n\n`axios-cache-adapter` is developped in ES6+ and uses async/await syntax. It is transpiled to ES5 using `babel` with `preset-env`.\n\n## Testing\n\nTests are executed using [karma](https://github.com/karma-runner/karma).\n\nTo launch a single run tests using ChromeHeadless:\n\n```sh\nnpm test\n```\n\nTo launch tests in watch mode in Chrome for easier debugging with devtools:\n\n```sh\nnpm run watch\n```\n\n## Browser vs Node.js\n\n`axios-cache-adapter` was designed to run in the browser. It does work in nodejs using the [in memory store](https://github.com/RasCarlito/axios-cache-adapter/blob/master/src/memory.js). But storing data in memory is not the greatests idea ever.\n\nYou can give a `store` to override the in memory store but it has to comply with the [`localForage`](https://github.com/localForage/localForage) API and `localForage` does not work in nodejs for very good reasons that are better explained in [this issue](https://github.com/localForage/localForage/issues/57).\n\nThe better choice if you want to use `axios-cache-adapter` server-side is to use a redis server with a `RedisStore` instance as explained above in the API section.\n\n## License\n\nMIT © [Carl Ogren](https://github.com/RasCarlito)\n","maintainers":[{"name":"rascarlito","email":"rascarlito@gmail.com"}],"time":{"modified":"2022-04-11T16:23:53.420Z","created":"2017-09-18T09:02:18.202Z","1.0.0":"2017-09-18T09:02:18.202Z","1.1.0":"2017-09-21T08:28:11.706Z","1.2.0":"2017-09-28T09:48:52.627Z","1.3.0":"2017-09-28T12:11:51.080Z","1.4.0":"2017-09-28T12:29:34.388Z","1.5.0":"2017-09-28T13:26:06.664Z","1.5.1":"2017-10-08T08:58:40.126Z","1.5.2":"2017-10-08T09:07:55.603Z","1.6.0":"2017-10-09T11:28:17.821Z","1.7.0":"2017-10-13T13:28:20.893Z","1.7.1":"2017-10-18T14:19:20.363Z","1.7.2":"2017-10-24T14:31:16.494Z","1.7.3":"2017-10-26T14:11:10.875Z","2.0.0":"2017-11-04T17:19:06.165Z","2.1.0":"2018-06-24T18:41:20.988Z","2.1.1":"2018-07-23T12:18:53.227Z","2.2.0":"2019-01-22T08:06:49.201Z","2.2.1":"2019-01-23T07:10:07.978Z","2.3.0":"2019-03-04T13:11:45.176Z","2.3.1":"2019-05-21T07:42:17.370Z","2.3.2":"2019-05-23T07:11:49.326Z","2.3.3":"2019-06-21T05:27:15.085Z","3.0.0-beta.0":"2019-07-15T22:04:38.618Z","2.4.0":"2019-08-08T19:08:42.453Z","2.4.1":"2019-08-19T12:18:18.654Z","2.5.0":"2019-11-16T13:42:13.909Z","2.6.0":"2021-02-02T08:38:52.255Z","2.7.0":"2021-02-03T09:41:19.924Z","2.7.1":"2021-03-01T09:06:25.953Z","2.7.2":"2021-03-02T11:02:35.533Z","2.7.3":"2021-03-03T09:56:54.306Z"},"homepage":"https://github.com/RasCarlito/axios-cache-adapter","keywords":["axios","cache","xhr","request"],"repository":{"type":"git","url":"git+https://github.com/RasCarlito/axios-cache-adapter.git"},"author":{"name":"Carl Ogren","email":"rascarlito@gmail.com","url":"https://github.com/RasCarlito"},"bugs":{"url":"https://github.com/RasCarlito/axios-cache-adapter/issues"},"license":"MIT","readmeFilename":"README.md"}