{"_id":"fetch-shim","_rev":"2-af570786ebc92267f7e06b8bbe4d8b05","name":"fetch-shim","dist-tags":{"latest":"1.1.1"},"versions":{"1.0.0":{"name":"fetch-shim","repository":{"type":"git","url":"git+https://github.com/fabiospampinato/fetch-shim.git"},"description":"A tiny isomoprhic Fetch function, it just gives you the native one if available, or the one from undici.","version":"1.0.0","type":"module","main":"dist/index.js","exports":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"clean":"tsex clean","compile":"tsex compile","compile:watch":"tsex compile --watch","test":"tsex test","test:watch":"tsex --watch","prepublishOnly":"npm run clean && npm run compile && npm run test"},"keywords":["fetch","shim","isomorphic","web","node"],"dependencies":{"undici":"^5.4.0"},"devDependencies":{"fava":"^0.0.6","tsex":"^1.1.2","typescript":"^4.7.2"},"bugs":{"url":"https://github.com/fabiospampinato/fetch-shim/issues"},"homepage":"https://github.com/fabiospampinato/fetch-shim#readme","_id":"fetch-shim@1.0.0","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-R4ckdUBiSEs6dJ8EynD7bCz+REWe8hALaPDwg6vP1ww2O2rtPUf22NKpUt30es7TlCRcMb49enNO2t6Xh8Bb8w==","shasum":"e074231e4fbc0eea0f9ea9a6ba47fd47562a4865","tarball":"https://registry.npmjs.org/fetch-shim/-/fetch-shim-1.0.0.tgz","fileCount":15,"unpackedSize":4729,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCbabYiR9/dr1IR1y5w7cWF3DpBpYMVKTWdLLMf3ClzAgIgHB/jWt6QCbV3bjPNaIAsPGpIeNAKW2rxwYMUhkfwq3Y="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJil1iIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq7sA//RN6j/RpLFZ8kQKWS1lGEoaIhKqfxW5Ksr+kBCI23AK3lQxuz\r\nF0iZ8vMJb+alNXUvjp7WnmB2rHcNWSbPlWkA0XTYjTKAesupzu0vnztl42JD\r\nS5eF1b2eWF5hEdc48BTw+DPc3UqiovYHFfWqEsYks2JljUhylrmfZ9eGM6kl\r\nAjOY5XFqqLu4qaNglB9dcLenazj6eNs5rQWRxM3anwZVNcvEZ335j1uEysmK\r\nLS32XwFbIYOEkerhwbl3cH3baQcV9wE9MEGlMvOxwVJrNQHrAE8g6D7/Gtg2\r\n5vj3/5Q8T7IjE7uHBvP+uoziZW2H48hRoRi3w0qyCeRVag4X/68veVha0J5d\r\nnVYlLfm//uE/vzpuGJNyTRdFP9L8fFbsq9F3cYDm0dfOxtfuY3IFbUueqAnX\r\nE2sAmSJPTyM1ZDzrAxIye0pU4BIwDPuglIXMo7hz9w39SLt5BSMh0yjuy63a\r\nb//6IAfSTmvfMZzOyp6j0ULZc6pCik+bU+V/r9uX+n2A0065xedOCskpXEN/\r\nccprRHkO9pO+kB8YhtUkBIz7FcbdNGvMbMKtexkLxLoGgvbZKq3ytJNyfBd6\r\nCPlSQDQqUVq0GWN2G0DPuVgdpu5y9gBYWdWm2UURjTt/gy34wxbDKcT2Dm/T\r\nUqNDiQUEdvhwTCIjxR1HVLuHZy4R5m3xaBI=\r\n=1Oz8\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"directories":{},"maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetch-shim_1.0.0_1654085768384_0.37245980413117064"},"_hasShrinkwrap":false},"1.1.0":{"name":"fetch-shim","repository":{"type":"git","url":"git+https://github.com/fabiospampinato/fetch-shim.git"},"description":"A tiny isomoprhic Fetch function, it just gives you the native one if available, or the one from undici.","version":"1.1.0","type":"module","main":"dist/browser.js","types":"./dist/browser.d.ts","exports":{".":{"node":"./dist/node.js","default":"./dist/browser.js"},"./register":{"node":"./dist/register/node.js","default":"./dist/register/browser.js"}},"scripts":{"clean":"tsex clean","compile":"tsex compile","compile:watch":"tsex compile --watch","test":"tsex test","test:watch":"tsex --watch","prepublishOnly":"npm run clean && npm run compile && npm run test"},"keywords":["fetch","shim","isomorphic","web","node"],"dependencies":{"undici":"^5.4.0"},"devDependencies":{"fava":"^0.0.6","tsex":"^1.1.2","typescript":"^4.7.2"},"gitHead":"51e26820922fa7f46984ff14e2b8ef2481713ac8","bugs":{"url":"https://github.com/fabiospampinato/fetch-shim/issues"},"homepage":"https://github.com/fabiospampinato/fetch-shim#readme","_id":"fetch-shim@1.1.0","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-SkD5d4TB3zYQu7ttS8iG1aSCemUP/oS9FkTzbQveOBoFBn5GyHEbIhQ/nQyeCc9RWyc7qxsvUhZnI5hsVbTALQ==","shasum":"5a73b0292c40422fc9416aa95f53345734ee7a56","tarball":"https://registry.npmjs.org/fetch-shim/-/fetch-shim-1.1.0.tgz","fileCount":21,"unpackedSize":5171,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCBFHQB9aqP/8qmLWQvjJVOnCybsmMEhVPRkn5YSLhq7QIgE+JSbRB2wGDQ8hjoNgFNVbeEC0FbspATiprBhhfYIGs="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJil1m+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqShg/9FTwlk+ub1iUoa0Nn6jNk7dU6yu/WIdz+Y5zfy0jHBO9RYFCL\r\nRbYfl/1oAU6g46W9+/6KiDlbtIjeM/2Q6HslBWSOAauGZSx9qAJeyPISJs+p\r\nDr+VR4GCk2FhkhZxQr8s0P+xZDsRPuVjQaIebi+LSASmtC07AWsJQWlh5eIC\r\n89j174EjfG5Pe0AmHifBtXviX+dK7VyyqIRaJ909kUebljAK59cdaTNE86T8\r\nm84bfEj3MZY20LcnMe/o6/71wEwsD8Ic5nWCgITf9AWMg26gbD1R+f1iSu1c\r\nvRQxS0IWJBiUAmZjWnq1QiqdK9rdqubpzqHu00KHZSqrjQpMoqCeTJAA6MZM\r\nwR1J8UiP8WTkgYmMbKmmUb7wFDkDCryUa7cAG5VFvGAxvN1b+6fj0ate+tyy\r\nvUQpjAJUAXlFaBVu34/XhrvFqG6OFcUx9uzAFGEv17F9T7stveyedYNnZ7J8\r\nWpdV4jMXb2TDckNnT5rq5tE9TrpVzMgRmNBga0qneih7nC8qDqvsmqgWDjth\r\nO/p9LgcGCDlc1ff/opRog7ZeNrQH9SEfn9PJjJkdNyzfByi0vtqlInnjYeBY\r\nL5UpP5rj17wsRDNLa6m82+yHFnzGEGCDyMOLG9kXHJ8v1+jH60FL13x+2tf5\r\nawtkjB98QVBYx+4fcnnmgv90aQUJHx72h4c=\r\n=nPGD\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"directories":{},"maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetch-shim_1.1.0_1654086078476_0.9399321001479406"},"_hasShrinkwrap":false},"1.1.1":{"name":"fetch-shim","repository":{"type":"git","url":"git+https://github.com/fabiospampinato/fetch-shim.git"},"description":"An isomoprhic Fetch function, it just gives you the native one if available, or the one from undici.","version":"1.1.1","type":"module","main":"dist/browser.js","types":"./dist/browser.d.ts","exports":{".":{"node":"./dist/node.js","default":"./dist/browser.js"},"./register":{"node":"./dist/register/node.js","default":"./dist/register/browser.js"}},"scripts":{"clean":"tsex clean","compile":"tsex compile","compile:watch":"tsex compile --watch","test":"tsex test","test:watch":"tsex test --watch","prepublishOnly":"tsex prepare"},"keywords":["fetch","shim","isomorphic","web","node"],"dependencies":{"undici":"^5.19.1"},"devDependencies":{"fava":"^0.2.0","tsex":"^2.2.0","typescript":"^4.9.5"},"gitHead":"f26661df1ba50588822cfd760359e2b4055f7704","bugs":{"url":"https://github.com/fabiospampinato/fetch-shim/issues"},"homepage":"https://github.com/fabiospampinato/fetch-shim#readme","_id":"fetch-shim@1.1.1","_nodeVersion":"18.12.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-ElB3c73nFcfgItkj6zsm973+WJLLRPPcN1wNOp2jevSKB5RsKxg0K6fMSJ/7+RwcT7dRvjOzP51eZxeCURm4yg==","shasum":"21282e0eed5c930b93cf442b8dcf693ab90b37fe","tarball":"https://registry.npmjs.org/fetch-shim/-/fetch-shim-1.1.1.tgz","fileCount":18,"unpackedSize":3829,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCfiAfShFPDcuRMzLCQzyU3FkPzr4WnggPQlaevInFBrQIgGJEpWHJwV6DrNeLDq8ech1etG0YtAM/PK6t96DYBygA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7YLdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmquzQ/+KCM65w3Tu7ZD5a1dGIE+DYZG95CEv9/hyWnvrx8bO3L2xbyr\r\nMXbjv5MRmkZrQ+EGh6unjvCPYXFdCz+oZZ0rSvpP3fj7dxPhD8vzd0puuhaZ\r\ndHSd4KaaAHVFTLQrUI74KUk1J6/g8pSj6JQOcBtNk5NkeKQ+CtYzsqXuNW3+\r\nu6NmCDguPrtvciyVA3VxnbnryLEm7y+j78ZdY4phrI1A1GXrpeHuRftlO7SS\r\nRLwoVXHHHvyQtG2Aa6t7II/rZybVVn/7A0HUS70tatyFjlx0KauSsjy3pJXr\r\ne815dIHN0xUSld5wiNBYA0ZCrlnPix9GOTDZ5ZBaTDXfQs13fww3x5TTha9n\r\nG4Q6tePRxRw33orxINC+DD4yXbTi1mQazjjoc75I5rw4kWDFUqJkWktubRfX\r\niDz7tqutA7cSqcKU4rV8ZPjX6sEPYqy33VpOATFYP4o6ZQyerA1twU2YA9Ae\r\niwuk64oQDaoQAwb6SbnZYPP6HkdcsGFpO+Mh62EjiEu4sqWRPV449NLyqJX2\r\nd4XXZ+UnbuJ74pvd+453KXZnUmWxly+uqhypWSZpHuF34KMtJUDSis7labSd\r\n1TGwyu68/bMHtwZlMElGYz7Z3b3hKievKB/yOYfpZfMTelbwumZGbrbBvV6+\r\nF2VG2+wRAR+GhMfWkB4+NCC+jGerlqN0UZg=\r\n=NlZ5\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"directories":{},"maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetch-shim_1.1.1_1676509917098_0.4402112153427924"},"_hasShrinkwrap":false}},"time":{"created":"2022-06-01T12:16:08.384Z","1.0.0":"2022-06-01T12:16:08.563Z","modified":"2023-02-16T01:11:57.410Z","1.1.0":"2022-06-01T12:21:18.591Z","1.1.1":"2023-02-16T01:11:57.275Z"},"maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"description":"An isomoprhic Fetch function, it just gives you the native one if available, or the one from undici.","homepage":"https://github.com/fabiospampinato/fetch-shim#readme","keywords":["fetch","shim","isomorphic","web","node"],"repository":{"type":"git","url":"git+https://github.com/fabiospampinato/fetch-shim.git"},"bugs":{"url":"https://github.com/fabiospampinato/fetch-shim/issues"},"readme":"# Fetch Shim\n\nAn isomoprhic Fetch function, it just gives you the native one if available, or the one from [`undici`](https://github.com/nodejs/undici).\n\n## Install\n\n```sh\nnpm install --save fetch-shim\n```\n\n## Usage\n\n```ts\nimport fetch from 'fetch-shim';\n\nconst response = await fetch ( 'https://jsonplaceholder.typicode.com/todos/1' );\nconst json = await response.json ();\n\nconsole.log ( json ); // => { userId: 1, id: 1, title: 'delectus aut autem', completed: false }\n```\n\n## License\n\nMIT © Fabio Spampinato\n","readmeFilename":"readme.md"}