{"_id":"@bigfootds/bigfoot-fetcher","_rev":"9-2e877bcc085efc99b27675e2e9dd6860","name":"@bigfootds/bigfoot-fetcher","dist-tags":{"latest":"0.3.5"},"versions":{"0.0.1":{"name":"@bigfootds/bigfoot-fetcher","version":"0.0.1","keywords":[],"author":{"url":"https://github.com/AlexStormwood","name":"Alex Stormwood","email":"alex@bigfootds.com"},"license":"MIT","_id":"@bigfootds/bigfoot-fetcher@0.0.1","maintainers":[{"name":"alexstormwood","email":"alex@bigfootds.com"}],"homepage":"https://github.com/BigfootDS/Bigfoot-Fetcher#readme","bugs":{"url":"https://github.com/BigfootDS/Bigfoot-Fetcher/issues"},"dist":{"shasum":"ab2c837a8521576e8cacc41d19ea0483eed73596","tarball":"https://registry.npmjs.org/@bigfootds/bigfoot-fetcher/-/bigfoot-fetcher-0.0.1.tgz","fileCount":9,"integrity":"sha512-AxpBCF7YTduDdyQ/1mApdU7v2qLRBqId3LY11qskCrl6qxCtHEOg8iL93CHuOhhCpZ85iJxEnhuZYpKTNAVzDQ==","signatures":[{"sig":"MEUCIQC4a8aRbTGh5ceHlQA7Qnd5Y4lEN9RveyR/Bv4gTgDSXQIgI++qn9zoudRqa7l61LhOqXHbER4tdFg2XyE19q8Ebgc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34074},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"gitHead":"19dd6c5c76346074d606d0671aa829b897664d1a","scripts":{"dev":"npm run build && npm run start","build":"tsc","start":"node dist/index.js","envcheck:ps":"echo %npm_package_config_bigfootds_productName%","envcheck:bash":"echo ${npm_package_config_bigfootds_productName}"},"_npmUser":{"name":"alexstormwood","email":"alex@bigfootds.com"},"repository":{"url":"git+https://github.com/BigfootDS/Bigfoot-Fetcher.git","type":"git"},"_npmVersion":"10.8.2","description":"JavaScript fetch override for cohesive, consistent usage across various BigfootDS projects.","directories":{},"_nodeVersion":"20.18.1","dependencies":{"bowser":"^2.11.0","dotenv":"^16.4.5","my-ua-parser":"^2.0.4"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.2","@types/node":"^22.10.1"},"_npmOperationalInternal":{"tmp":"tmp/bigfoot-fetcher_0.0.1_1733117891058_0.5559938151791137","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"@bigfootds/bigfoot-fetcher","version":"0.1.0","keywords":[],"author":{"url":"https://github.com/AlexStormwood","name":"Alex Stormwood","email":"alex@bigfootds.com"},"license":"MIT","_id":"@bigfootds/bigfoot-fetcher@0.1.0","maintainers":[{"name":"alexstormwood","email":"alex@bigfootds.com"}],"homepage":"https://github.com/BigfootDS/Bigfoot-Fetcher#readme","bugs":{"url":"https://github.com/BigfootDS/Bigfoot-Fetcher/issues"},"dist":{"shasum":"2a4ec789f85c39c9d9339a6ac07cbce4a594383d","tarball":"https://registry.npmjs.org/@bigfootds/bigfoot-fetcher/-/bigfoot-fetcher-0.1.0.tgz","fileCount":9,"integrity":"sha512-biRfC+UBKYTXRrr0xHt97UnBJXFcocEdLYw4XBg5qIRTWFSxv3k4nAHssdKoxGke3V01y7b3fkKydSefjtz1Vw==","signatures":[{"sig":"MEQCIGwSWIoHfWpY3p52yKgGSLtHFIDT5iz7vchk0aUBVG9vAiB3BWqjn2S/dw0QMsVasCmm1VhR5HUr+VJJE7oxFwh9ZQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34558},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"gitHead":"b091276bf4599aa7ae932016d8dea27cc0385a90","scripts":{"dev":"npm run build && npm run start","build":"tsc","start":"node dist/index.js","envcheck:ps":"echo %npm_package_config_bigfootds_productName%","envcheck:bash":"echo ${npm_package_config_bigfootds_productName}"},"_npmUser":{"name":"alexstormwood","email":"alex@bigfootds.com"},"repository":{"url":"git+https://github.com/BigfootDS/Bigfoot-Fetcher.git","type":"git"},"_npmVersion":"10.8.2","description":"JavaScript fetch override for cohesive, consistent usage across various BigfootDS projects.","directories":{},"_nodeVersion":"20.18.1","dependencies":{"bowser":"^2.11.0","dotenv":"^16.4.5","my-ua-parser":"^2.0.4"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.2","@types/node":"^22.10.1"},"_npmOperationalInternal":{"tmp":"tmp/bigfoot-fetcher_0.1.0_1733118160996_0.14911597522235787","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@bigfootds/bigfoot-fetcher","version":"0.1.1","keywords":[],"author":{"url":"https://github.com/AlexStormwood","name":"Alex Stormwood","email":"alex@bigfootds.com"},"license":"MIT","_id":"@bigfootds/bigfoot-fetcher@0.1.1","maintainers":[{"name":"alexstormwood","email":"alex@bigfootds.com"}],"homepage":"https://github.com/BigfootDS/Bigfoot-Fetcher#readme","bugs":{"url":"https://github.com/BigfootDS/Bigfoot-Fetcher/issues"},"dist":{"shasum":"3e9ff5f6c8b2537e90742d8e101eaa9c707c2b73","tarball":"https://registry.npmjs.org/@bigfootds/bigfoot-fetcher/-/bigfoot-fetcher-0.1.1.tgz","fileCount":9,"integrity":"sha512-93U/hg0ZYsARIREKhPpWEN13l0+jEmrwNjju+Q+lelpznvBDiWgqrEy3Sic3MbV7uaqTrygaLp1JdBpNaOT3bw==","signatures":[{"sig":"MEUCIAyJ8VHsPOuTvtr77o4B8VD1G2VrQjc+rnj37tusf1aIAiEArNJ4jrqe8nnUQ5WYdtWtX7yZTLZhydp5gVp+0zl2PMA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36646},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"gitHead":"4a31f7ea4d9a5c65894f0a448d43d5faad3c8170","scripts":{"dev":"npm run build && npm run start","build":"tsc","start":"node dist/index.js","envcheck:ps":"echo %npm_package_config_bigfootds_productName%","envcheck:bash":"echo ${npm_package_config_bigfootds_productName}"},"_npmUser":{"name":"alexstormwood","email":"alex@bigfootds.com"},"repository":{"url":"git+https://github.com/BigfootDS/Bigfoot-Fetcher.git","type":"git"},"_npmVersion":"10.8.2","description":"JavaScript fetch override for cohesive, consistent usage across various BigfootDS projects.","directories":{},"_nodeVersion":"20.18.1","dependencies":{"bowser":"^2.11.0","my-ua-parser":"^2.0.4"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.2","@types/node":"^22.10.1"},"_npmOperationalInternal":{"tmp":"tmp/bigfoot-fetcher_0.1.1_1733181894352_0.8163146869810622","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"@bigfootds/bigfoot-fetcher","version":"0.2.0","keywords":[],"author":{"url":"https://github.com/AlexStormwood","name":"Alex Stormwood","email":"alex@bigfootds.com"},"license":"MIT","_id":"@bigfootds/bigfoot-fetcher@0.2.0","maintainers":[{"name":"alexstormwood","email":"alex@bigfootds.com"}],"homepage":"https://github.com/BigfootDS/Bigfoot-Fetcher#readme","bugs":{"url":"https://github.com/BigfootDS/Bigfoot-Fetcher/issues"},"dist":{"shasum":"32f60f6dc659de18f0eb2e3bd5003bec741bedfb","tarball":"https://registry.npmjs.org/@bigfootds/bigfoot-fetcher/-/bigfoot-fetcher-0.2.0.tgz","fileCount":9,"integrity":"sha512-ap4fuCeRd8lUiUNcqsZsqg9VUzuO/O16jegvBMP4Dkb58la/T4CzqImI2b0wpstw2+uCAvg6KJE7ilSn0BFJbg==","signatures":[{"sig":"MEQCIF4wpA2XlJTqJRghMGhwE+f/uHl1A4YQyNdRi1Eh2grRAiAVdOubfHS37cLgmV5raLya0lE/M9kmKVd8Q0Z11sk3nQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38777},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"gitHead":"3cd677c85154d4c2c5f5e94630e42ba39e6b65c8","scripts":{"dev":"npm run build && npm run start","build":"tsc","start":"node dist/index.js","envcheck:ps":"echo %npm_package_config_bigfootds_productName%","envcheck:bash":"echo ${npm_package_config_bigfootds_productName}"},"_npmUser":{"name":"alexstormwood","email":"alex@bigfootds.com"},"repository":{"url":"git+https://github.com/BigfootDS/Bigfoot-Fetcher.git","type":"git"},"_npmVersion":"10.8.2","description":"JavaScript fetch override for cohesive, consistent usage across various BigfootDS projects.","directories":{},"_nodeVersion":"20.18.1","dependencies":{"bowser":"^2.11.0","my-ua-parser":"^2.0.4"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.2","@types/node":"^22.10.1"},"_npmOperationalInternal":{"tmp":"tmp/bigfoot-fetcher_0.2.0_1733188651169_0.33535897957678396","host":"s3://npm-registry-packages"}},"0.2.1":{"name":"@bigfootds/bigfoot-fetcher","version":"0.2.1","keywords":[],"author":{"url":"https://github.com/AlexStormwood","name":"Alex Stormwood","email":"alex@bigfootds.com"},"license":"MIT","_id":"@bigfootds/bigfoot-fetcher@0.2.1","maintainers":[{"name":"alexstormwood","email":"alex@bigfootds.com"}],"homepage":"https://github.com/BigfootDS/Bigfoot-Fetcher#readme","bugs":{"url":"https://github.com/BigfootDS/Bigfoot-Fetcher/issues"},"dist":{"shasum":"0db33e09228e81b9cdca152bd04309556ffda11f","tarball":"https://registry.npmjs.org/@bigfootds/bigfoot-fetcher/-/bigfoot-fetcher-0.2.1.tgz","fileCount":9,"integrity":"sha512-vDtVJc3im0AfjS1gpsaJX1aGQZ/VbbIS0AWPAsCIQ9gtVTcBHYm/BKOxan3PhjSjXZ22h7ftXbYbiPRBikjB7g==","signatures":[{"sig":"MEYCIQC8KxgWDtUJqp2cOcuv4/BDZdBpKbtBQvg81tOVAyJIrgIhAPdrqYyIFYOs60R5tLyLuvKJrosffF/gpHsRQ3+308SA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41482},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"gitHead":"40e86ccb07b12b36322041df81293e9f800f5ce7","scripts":{"dev":"npm run build && npm run start","build":"tsc","start":"node dist/index.js","envcheck:ps":"echo %npm_package_config_bigfootds_productName%","envcheck:bash":"echo ${npm_package_config_bigfootds_productName}"},"_npmUser":{"name":"alexstormwood","email":"alex@bigfootds.com"},"repository":{"url":"git+https://github.com/BigfootDS/Bigfoot-Fetcher.git","type":"git"},"_npmVersion":"10.8.2","description":"JavaScript fetch override for cohesive, consistent usage across various BigfootDS projects.","directories":{},"_nodeVersion":"20.18.1","dependencies":{"bowser":"^2.11.0","my-ua-parser":"^2.0.4"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.2","@types/node":"^22.10.1"},"_npmOperationalInternal":{"tmp":"tmp/bigfoot-fetcher_0.2.1_1733817685362_0.5220520796750485","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@bigfootds/bigfoot-fetcher","version":"0.2.2","keywords":[],"author":{"url":"https://github.com/AlexStormwood","name":"Alex Stormwood","email":"alex@bigfootds.com"},"license":"MIT","_id":"@bigfootds/bigfoot-fetcher@0.2.2","maintainers":[{"name":"alexstormwood","email":"alex@bigfootds.com"}],"homepage":"https://github.com/BigfootDS/Bigfoot-Fetcher#readme","bugs":{"url":"https://github.com/BigfootDS/Bigfoot-Fetcher/issues"},"dist":{"shasum":"3a3745d49010039c88ff6333abf57f07ba6d11fa","tarball":"https://registry.npmjs.org/@bigfootds/bigfoot-fetcher/-/bigfoot-fetcher-0.2.2.tgz","fileCount":9,"integrity":"sha512-V9EKPATt0HThwkLBBrZ4HSXkGCUUBJdTn2fNt3/MtiijVM4hCeihnrdIm2IfyZ+lZe+FemaB7xXo/RW8Mw5hTA==","signatures":[{"sig":"MEYCIQDmWsbSGChAuMlUXxdCA+w37EU39+BE73U2EKIp6Byb7QIhALRQwws+HXw0H+rV9GfALPky5tDWdFLHxmleCVXwX3r0","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":42202},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"gitHead":"67a3d4aa3c6425475e55952756ca2c093a61f61d","scripts":{"dev":"npm run build && npm run start","build":"tsc","start":"node dist/index.js","envcheck:ps":"echo %npm_package_config_bigfootds_productName%","envcheck:bash":"echo ${npm_package_config_bigfootds_productName}"},"_npmUser":{"name":"alexstormwood","email":"alex@bigfootds.com"},"repository":{"url":"git+https://github.com/BigfootDS/Bigfoot-Fetcher.git","type":"git"},"_npmVersion":"10.8.2","description":"JavaScript fetch override for cohesive, consistent usage across various BigfootDS projects.","directories":{},"_nodeVersion":"20.19.0","dependencies":{"bowser":"^2.11.0","my-ua-parser":"^2.0.4"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.2","@types/node":"^22.10.1"},"_npmOperationalInternal":{"tmp":"tmp/bigfoot-fetcher_0.2.2_1745744452645_0.45001627083282236","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@bigfootds/bigfoot-fetcher","version":"0.3.0","keywords":[],"author":{"url":"https://github.com/AlexStormwood","name":"Alex Stormwood","email":"alex@bigfootds.com"},"license":"MIT","_id":"@bigfootds/bigfoot-fetcher@0.3.0","maintainers":[{"name":"alexstormwood","email":"alex@bigfootds.com"}],"homepage":"https://github.com/BigfootDS/Bigfoot-Fetcher#readme","bugs":{"url":"https://github.com/BigfootDS/Bigfoot-Fetcher/issues"},"dist":{"shasum":"e55fcd308eae406d0322104bd5bc35c4ad92cc20","tarball":"https://registry.npmjs.org/@bigfootds/bigfoot-fetcher/-/bigfoot-fetcher-0.3.0.tgz","fileCount":6,"integrity":"sha512-grjJQNDcUthq/LCpNQZfWlNTUANob6hI0PTIJ/tUQP1irGPRcyWudJSTPtXsuH1sXh2rUHnFysvtAhvusFd5IA==","signatures":[{"sig":"MEYCIQDrxuaQ+koo2JDaPzpThg8aFGsK4Y6WWb7WgS+dxxINGQIhAKgU+JSjARt8wPbRpw/89crriw9dJV2da8Xm/KnUXOmL","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bigfootds%2fbigfoot-fetcher@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":17744},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"gitHead":"70011f86b8d17cb4259c181b1cbe46108ab37e82","scripts":{"dev":"npm run build && npm run start","test":"npm run build && node --test","build":"tsc","start":"node dist/index.js","envcheck:ps":"echo %npm_package_config_bigfootds_productName%","envcheck:bash":"echo ${npm_package_config_bigfootds_productName}"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d2cadd1e-603b-4022-a54f-c0f7cad47597"}},"repository":{"url":"git+https://github.com/BigfootDS/Bigfoot-Fetcher.git","type":"git"},"_npmVersion":"11.13.0","description":"JavaScript fetch override for cohesive, consistent usage across various BigfootDS projects.","directories":{},"_nodeVersion":"24.16.0","dependencies":{"bowser":"^2.11.0","my-ua-parser":"^2.0.4"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.2","@types/node":"^22.10.1"},"_npmOperationalInternal":{"tmp":"tmp/bigfoot-fetcher_0.3.0_1780230597551_0.35333823255650576","host":"s3://npm-registry-packages-npm-production"}},"0.3.4":{"name":"@bigfootds/bigfoot-fetcher","version":"0.3.4","keywords":[],"author":{"url":"https://github.com/AlexStormwood","name":"Alex Stormwood","email":"alex@bigfootds.com"},"license":"MIT","_id":"@bigfootds/bigfoot-fetcher@0.3.4","maintainers":[{"name":"alexstormwood","email":"alex@bigfootds.com"}],"homepage":"https://github.com/BigfootDS/pkg-bigfoot-fetcher#readme","bugs":{"url":"https://github.com/BigfootDS/pkg-bigfoot-fetcher/issues"},"dist":{"shasum":"be5cbb7b15fc1c8c9f4ba9917ef569b97a9fee53","tarball":"https://registry.npmjs.org/@bigfootds/bigfoot-fetcher/-/bigfoot-fetcher-0.3.4.tgz","fileCount":6,"integrity":"sha512-ahd7MDUG+TKWAlfbxe1ARE7ocXoezzAhehIpd4CzZHbjdeqwOq9VMIZVJ4saITJiZc0+FqDi0bwt3tMXPMza/g==","signatures":[{"sig":"MEUCIAvGReBKHKmk77Kd1GCpujVtqbRVq4JCLC7If0GkSCpPAiEAgUsfMK2WL033wMQXrsDg9uEayyl0aUN9S00/hk9Q1Z0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bigfootds%2fbigfoot-fetcher@0.3.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":16130},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"gitHead":"868ddd780d8e9b7870850512bf3cbf2f380feebc","scripts":{"dev":"npm run build && npm run start","test":"npm run build && node --test","build":"tsc","start":"node dist/index.js","prepack":"npm run build","prebuild":"node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\"","envcheck:ps":"echo %npm_package_config_bigfootds_productName%","envcheck:bash":"echo ${npm_package_config_bigfootds_productName}"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e5a54ea0-83f3-45f0-b39c-eb8b5d0bc91d"}},"repository":{"url":"git+https://github.com/BigfootDS/pkg-bigfoot-fetcher.git","type":"git"},"_npmVersion":"11.13.0","description":"JavaScript fetch override for cohesive, consistent usage across various BigfootDS projects.","directories":{},"_nodeVersion":"24.16.0","dependencies":{"bowser":"^2.14.1","my-ua-parser":"^2.0.4","@bigfootds/bigfootds-shared-data":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^6.0.3","@types/node":"^25.9.2"},"_npmOperationalInternal":{"tmp":"tmp/bigfoot-fetcher_0.3.4_1780839388957_0.23017246852984385","host":"s3://npm-registry-packages-npm-production"}},"0.3.5":{"name":"@bigfootds/bigfoot-fetcher","version":"0.3.5","description":"JavaScript fetch override for cohesive, consistent usage across various BigfootDS projects.","type":"module","main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"prebuild":"node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\"","start":"node dist/index.js","dev":"npm run build && npm run start","test":"npm run build && node --test","build":"tsc","prepack":"npm run build","envcheck:ps":"echo %npm_package_config_bigfootds_productName%","envcheck:bash":"echo ${npm_package_config_bigfootds_productName}"},"repository":{"type":"git","url":"git+https://github.com/BigfootDS/pkg-bigfoot-fetcher.git"},"keywords":[],"author":{"name":"Alex Stormwood","email":"alex@bigfootds.com","url":"https://github.com/AlexStormwood"},"license":"MIT","bugs":{"url":"https://github.com/BigfootDS/pkg-bigfoot-fetcher/issues"},"homepage":"https://github.com/BigfootDS/pkg-bigfoot-fetcher#readme","engines":{"node":">=20.0.0"},"devDependencies":{"@types/node":"^25.9.2","typescript":"^6.0.3"},"dependencies":{"@bigfootds/bigfootds-shared-data":"3.0.0","bowser":"^2.14.1","my-ua-parser":"^2.0.4"},"gitHead":"85239f5f3601ed9f8a5f0677b60c560f3e7e2a04","_id":"@bigfootds/bigfoot-fetcher@0.3.5","_nodeVersion":"24.18.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-2d1E2KCNwFUzaiaivlgtfrFN1U/Kca0SRlDHy7GudH+H1lXf7fHg1w3D5TMhEKThmORqaxWuynByjW27OUzmrw==","shasum":"c0052e975962f8c271842d227f5dc88d0b57cafd","tarball":"https://registry.npmjs.org/@bigfootds/bigfoot-fetcher/-/bigfoot-fetcher-0.3.5.tgz","fileCount":6,"unpackedSize":16129,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bigfootds%2fbigfoot-fetcher@0.3.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCHKqfmPHCUxkM+C/Z/+JdHxONS+Mbjs/06rHv+hiL2jQIgWK/0S4a9vykf+9b+egnnCrO/P6E5QhrzjArYpMRe9Fo="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e5a54ea0-83f3-45f0-b39c-eb8b5d0bc91d"}},"directories":{},"maintainers":[{"name":"alexstormwood","email":"alex@bigfootds.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/bigfoot-fetcher_0.3.5_1783682013054_0.5867021865158943"},"_hasShrinkwrap":false}},"time":{"created":"2024-12-02T05:38:10.949Z","modified":"2026-07-10T11:13:33.483Z","0.0.1":"2024-12-02T05:38:11.240Z","0.1.0":"2024-12-02T05:42:41.154Z","0.1.1":"2024-12-02T23:24:54.531Z","0.2.0":"2024-12-03T01:17:31.413Z","0.2.1":"2024-12-10T08:01:25.519Z","0.2.2":"2025-04-27T09:00:52.838Z","0.3.0":"2026-05-31T12:29:57.679Z","0.3.4":"2026-06-07T13:36:29.125Z","0.3.5":"2026-07-10T11:13:33.194Z"},"bugs":{"url":"https://github.com/BigfootDS/pkg-bigfoot-fetcher/issues"},"author":{"name":"Alex Stormwood","email":"alex@bigfootds.com","url":"https://github.com/AlexStormwood"},"license":"MIT","homepage":"https://github.com/BigfootDS/pkg-bigfoot-fetcher#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/BigfootDS/pkg-bigfoot-fetcher.git"},"description":"JavaScript fetch override for cohesive, consistent usage across various BigfootDS projects.","maintainers":[{"name":"alexstormwood","email":"alex@bigfootds.com"}],"readme":"# @bigfootds/Bigfoot-Fetcher\n\nJavaScript fetch override for cohesive, consistent usage across various BigfootDS projects.\n\nNote that this package, while publicly available and MIT-licensed, is **not** intended for public contribution/collaboration. We just need an easy way to consolidate some functionality that will be reused across multiple projects, and an NPM package is a nice, easy way to do that.\n\n## Installation\n\n`npm install @bigfootds/bigfoot-fetcher`\n\n## Usage\n\nImport the package as:\n\n```js\nimport { fetcher } from \"@bigfootds/bigfoot-fetcher\";\n```\n\n\nThen, use `fetcher` in place of any fetch function calls. It's a wrapper around fetch!\n\n### NodeJS Usage\n\n```js\napp.get(\"/headers\", (request, response) => {\n    response.json({result: JSON.stringify(request.headers)});\n})\n\nfetcher(\"http://localhost:3030/headers\")\n    .then(async (response) => {return await response.json()})\n    .then((data) => {\n        console.log(\"Returned headers:\");\n        console.log(data);\n    });\n```\n\n```\nReturned headers:\n{\n  result: '{\"host\":\"localhost:3030\",\"connection\":\"keep-alive\",\"osname\":\"Linux\",\"osversion\":\"5.15.0-125-generic\",\"platformname\":\"API\",\"platformtype\":\"api\",\"productname\":\"@bigfootds/ms-auth\",\"accept\":\"*/*\",\"accept-language\":\"*\",\"sec-fetch-mode\":\"cors\",\"user-agent\":\"node\",\"accept-encoding\":\"gzip, deflate\"}'\n}\n```\n\n### ReactJS Usage\n\nVite has special config steps that must be done because of the strange way that they handle environment variables.\n\n```js\n// vite.config.js\n\nimport { defineConfig, loadEnv } from 'vite'\nimport react from '@vitejs/plugin-react'\nimport packageJson from \"./package.json\";\n\n// https://vitejs.dev/config/\nexport default defineConfig(({mode}) => {\n\n  const env = loadEnv(mode, process.cwd(), \"\");\n  let combined = {...env, ...packageJson.bigfootds};\n  console.log(combined);\n\n  return {\n    plugins: [react()],\n    define: {\n      'process.env':combined\n    }\n  }\n})\n```\n\n```jsx\nimport './App.css'\nimport {fetcher} from \"@bigfootds/bigfoot-fetcher\";\n\nfunction App() {\n  const makeBigfootDSFetch = async () => {\n    let result = await fetcher(\"http://localhost:3030/headers\");\n    let data = await result.json();\n    console.log(data);\n  }\n\n  return (\n    <>\n      <div>\n        <button onClick={makeBigfootDSFetch}>\n          Make a BigfootDS Fetch Request\n        </button>\n      </div>\n    </>\n  )\n}\n\nexport default App\n\n```\n\nThe above returns this to the console:\n\n```\n{\n    \"result\": {\n        \"host\": \"localhost:3030\",\n        \"connection\": \"keep-alive\",\n        \"browserengineversion\": \"131.0.0.0\",\n        \"browserversion\": \"131.0.0.0\",\n        \"osname\": \"Windows\",\n        \"browsername\": \"Chrome\",\n        \"osversion\": \"10\",\n        \"sec-ch-ua\": \"\\\"Google Chrome\\\";v=\\\"131\\\", \\\"Chromium\\\";v=\\\"131\\\", \\\"Not_A Brand\\\";v=\\\"24\\\"\",\n        \"sec-ch-ua-mobile\": \"?0\",\n        \"browserenginename\": \"Blink\",\n        \"platformname\": \"web client\",\n        \"osversionname\": \"10\",\n        \"platformtype\": \"desktop\",\n        \"user-agent\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36\",\n        \"dnt\": \"1\",\n        \"productname\": \"Super Cool Frontend Website\",\n        \"sec-ch-ua-platform\": \"\\\"Windows\\\"\",\n        \"accept\": \"*/*\",\n        \"origin\": \"http://localhost:5173\",\n        \"sec-fetch-site\": \"same-site\",\n        \"sec-fetch-mode\": \"cors\",\n        \"sec-fetch-dest\": \"empty\",\n        \"referer\": \"http://localhost:5173/\",\n        \"accept-encoding\": \"gzip, deflate, br, zstd\",\n        \"accept-language\": \"en-AU,en-GB;q=0.9,en-US;q=0.8,en;q=0.7\",\n        \"if-none-match\": \"W/\\\"363-kym2xWPe6ASfGk36ZZ0u32/cuvA\\\"\"\n    }\n}\n```\n\nYes, Windows 11 shows up as Windows 10 - more work can maybe be done in this area but [it requires some more-secure browser context configuration](https://learn.microsoft.com/en-us/microsoft-edge/web-platform/how-to-detect-win11).\n\nNote that the headers above are populated by some default request headers as well as the \"Bigfoot Fetcher\" headers, which come from a `package.json` contents like this:\n\n```json\n{\n    \"name\": \"@bigfootds/ms-auth\",\n     \"version\": \"1.0.1\",\n    \"description\": \"Core authentication & IAM services for BigfootDS & its various games and products.\",\n    \"config\":{\n        \"bigfootds\":{\n            \"platformType\":\"api\",\n            \"platformName\":\"API\",\n            \"productName\":\"@bigfootds/ms-auth\"\n        }\n    },\n    // ...rest of package.json for a NodeJS back-end project\n}\n```\n\n```json\n{\n  \"name\": \"vite-testo\",\n  \"private\": true,\n  \"version\": \"0.0.0\",\n  \"bigfootds\": {\n    \"productName\": \"Super Cool Frontend Website\",\n    \"platformName\":\"web client\"\n  },\n  // ...rest of package.json for a front-end project\n}\n```\n\n\nThese headers are added to all fetch requests that use this package's fetcher function:\n\n```typescript\nimport { BIGFOOT_FETCHER_HEADER_NAMES } from \"@bigfootds/bigfoot-fetcher\";\n\nconst allowedHeaders = [\n  \"Content-Type\",\n  \"Authorization\",\n  ...BIGFOOT_FETCHER_HEADER_NAMES,\n];\n\nresponse.setHeader(\n  \"Access-Control-Allow-Headers\",\n  allowedHeaders.join(\", \")\n);\n```\n\n\n```typescript\ninterface BigfootDSConfig {\n    productName?: string, \n    productVersion?: string,\n    browserName?: string,\n    browserVersion?: string,\n    browserEngineName?: string,\n    browserEngineVersion?: string,\n    osName?: string,\n    osVersion?: string,\n    osVersionName?: string,\n    platformType?: string, \n    platformName?: string \n}\n```\n\nWhether or not they are actually added depends on if they have value, and they don't all have value on all platforms. e.g. no browser properties in the NodeJS environment!\n","readmeFilename":"README.md"}