{"_attachments":{},"_id":"@protobufjs/fetch","_rev":"196025-61f1a1df2c1293059b19ad05","author":{"name":"Daniel Wirtz","email":"dcode+protobufjs@dcode.io"},"description":"Fetches the contents of a file accross node and browsers.","dist-tags":{"latest":"1.1.1"},"license":"BSD-3-Clause","maintainers":[{"name":"google-wombot","email":"node-team-npm+wombot@google.com"},{"name":"dcode","email":"dcode+npm@dcode.io"},{"name":"protobufjs","email":"dcode+protobufjs@dcode.io"}],"name":"@protobufjs/fetch","readme":"@protobufjs/fetch\r\n=================\r\n[![npm](https://img.shields.io/npm/v/@protobufjs/fetch.svg)](https://www.npmjs.com/package/@protobufjs/fetch)\r\n\r\nFetches the contents of a file accross node and browsers.\r\n\r\nAPI\r\n---\r\n\r\n* **fetch(path: `string`, [options: { binary: boolean } ], [callback: `function(error: ?Error, [contents: string])`]): `Promise<string|Uint8Array>|undefined`**\r\n  Fetches the contents of a file.\r\n\r\n**License:** [BSD 3-Clause License](https://opensource.org/licenses/BSD-3-Clause)\r\n","time":{"created":"2022-01-26T19:32:47.669Z","modified":"2026-05-17T12:41:20.388Z","1.1.0":"2017-01-27T15:50:55.061Z","1.0.4":"2017-01-03T15:31:23.572Z","1.0.3":"2016-12-20T21:35:58.201Z","1.0.2":"2016-12-18T17:22:46.881Z","1.0.1":"2016-12-12T22:45:12.316Z","1.0.0":"2016-12-12T13:57:44.108Z","1.1.1":"2026-05-17T12:41:02.731Z"},"versions":{"1.1.0":{"name":"@protobufjs/fetch","description":"Fetches the contents of a file accross node and browsers.","version":"1.1.0","author":{"name":"Daniel Wirtz","email":"dcode+protobufjs@dcode.io"},"repository":{"type":"git","url":"git+https://github.com/dcodeIO/protobuf.js.git"},"dependencies":{"@protobufjs/aspromise":"^1.1.1","@protobufjs/inquire":"^1.1.0"},"license":"BSD-3-Clause","main":"index.js","types":"index.d.ts","devDependencies":{"istanbul":"^0.4.5","tape":"^4.6.3"},"scripts":{"test":"tape tests/*.js","coverage":"istanbul cover node_modules/tape/bin/tape tests/*.js"},"bugs":{"url":"https://github.com/dcodeIO/protobuf.js/issues"},"homepage":"https://github.com/dcodeIO/protobuf.js#readme","_id":"@protobufjs/fetch@1.1.0","_shasum":"ba99fb598614af65700c1619ff06d454b0d84c45","_from":".","_npmVersion":"4.0.5","_nodeVersion":"6.9.1","_npmUser":{"name":"dcode","email":"dcode+npm@dcode.io"},"dist":{"shasum":"ba99fb598614af65700c1619ff06d454b0d84c45","size":3330,"noattachment":false,"tarball":"https://registry.npmmirror.com/@protobufjs/fetch/-/fetch-1.1.0.tgz","integrity":"sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ=="},"maintainers":[{"name":"protobufjs","email":"dcode+npm-protobufjs@dcode.io"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/fetch-1.1.0.tgz_1485532253082_0.3777743794489652"},"directories":{},"publish_time":1485532255061,"_hasShrinkwrap":false,"_cnpm_publish_time":1485532255061,"_cnpmcore_publish_time":"2021-12-16T11:21:25.664Z"},"1.0.4":{"name":"@protobufjs/fetch","description":"Fetches the contents of a file accross node and browsers.","version":"1.0.4","author":{"name":"Daniel Wirtz","email":"dcode+protobufjs@dcode.io"},"repository":{"type":"git","url":"git+https://github.com/dcodeIO/protobuf.js.git"},"dependencies":{"@protobufjs/aspromise":"^1.0.5","@protobufjs/inquire":"^1.0.2"},"license":"BSD-3-Clause","main":"index.js","types":"index.d.ts","bugs":{"url":"https://github.com/dcodeIO/protobuf.js/issues"},"homepage":"https://github.com/dcodeIO/protobuf.js#readme","_id":"@protobufjs/fetch@1.0.4","scripts":{},"_shasum":"9f48faa1f9fc01ea4c6d61133ef5af75491f8298","_from":".","_npmVersion":"4.0.5","_nodeVersion":"6.9.1","_npmUser":{"name":"dcode","email":"dcode+npm@dcode.io"},"dist":{"shasum":"9f48faa1f9fc01ea4c6d61133ef5af75491f8298","size":2291,"noattachment":false,"tarball":"https://registry.npmmirror.com/@protobufjs/fetch/-/fetch-1.0.4.tgz","integrity":"sha512-7VkddFmtLjjdZrtYcDgQQ4NAotL/5JiFoNf9SQtd4eUR/YYYJ/fCP4hAz130jZjwOeLx1hGjit7AzGdbSFHKfg=="},"maintainers":[{"name":"protobufjs","email":"dcode+npm-protobufjs@dcode.io"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/fetch-1.0.4.tgz_1483457482865_0.1876099812798202"},"directories":{},"publish_time":1483457483572,"_hasShrinkwrap":false,"_cnpm_publish_time":1483457483572,"_cnpmcore_publish_time":"2021-12-16T11:21:26.020Z"},"1.0.3":{"name":"@protobufjs/fetch","description":"Fetches the contents of a file accross node and browsers.","version":"1.0.3","author":{"name":"Daniel Wirtz","email":"dcode+protobufjs@dcode.io"},"repository":{"type":"git","url":"git+https://github.com/dcodeIO/protobuf.js.git"},"dependencies":{"@protobufjs/aspromise":"^1.0.4","@protobufjs/inquire":"^1.0.1"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/dcodeIO/protobuf.js/issues"},"homepage":"https://github.com/dcodeIO/protobuf.js#readme","_id":"@protobufjs/fetch@1.0.3","scripts":{},"_shasum":"d6a2aad5bbefe2ce941427b8e00f331fef93712c","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.9.1","_npmUser":{"name":"dcode","email":"dcode+npm@dcode.io"},"dist":{"shasum":"d6a2aad5bbefe2ce941427b8e00f331fef93712c","size":2167,"noattachment":false,"tarball":"https://registry.npmmirror.com/@protobufjs/fetch/-/fetch-1.0.3.tgz","integrity":"sha512-7h/IPEByzQi7ON98Fmf7XEyPB2M+n/whrsqbfGez6thFc9NqIBUcZCkv5COqG4a8io6vREwIAZ3HxrI22V5+ZQ=="},"maintainers":[{"name":"protobufjs","email":"dcode+npm-protobufjs@dcode.io"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/fetch-1.0.3.tgz_1482269756320_0.22236744756810367"},"directories":{},"publish_time":1482269758201,"_hasShrinkwrap":false,"_cnpm_publish_time":1482269758201,"_cnpmcore_publish_time":"2021-12-16T11:21:26.239Z"},"1.0.2":{"name":"@protobufjs/fetch","description":"Fetches the contents of a file accross node and browsers.","version":"1.0.2","author":{"name":"Daniel Wirtz","email":"dcode+protobufjs@dcode.io"},"repository":{"type":"git","url":"git+https://github.com/dcodeIO/protobuf.js.git"},"dependencies":{"@protobufjs/aspromise":"^1.0.0","@protobufjs/inquire":"^1.0.0"},"license":"Apache-2.0","bugs":{"url":"https://github.com/dcodeIO/protobuf.js/issues"},"homepage":"https://github.com/dcodeIO/protobuf.js#readme","_id":"@protobufjs/fetch@1.0.2","scripts":{},"_shasum":"d955646ad1b3c186e96d9c8e113cec085ab1c73d","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.9.1","_npmUser":{"name":"dcode","email":"dcode+npm@dcode.io"},"dist":{"shasum":"d955646ad1b3c186e96d9c8e113cec085ab1c73d","size":5287,"noattachment":false,"tarball":"https://registry.npmmirror.com/@protobufjs/fetch/-/fetch-1.0.2.tgz","integrity":"sha512-xMkap1+9lW/t5fiRa7cDsCrXPA5qZeZ5kULV9tgETgtwl21E7qF8ugpvjjNmIsO2l73LA485K0UsJ9m5QTO9DA=="},"maintainers":[{"name":"protobufjs","email":"dcode+npm-protobufjs@dcode.io"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/fetch-1.0.2.tgz_1482081765011_0.9189071871805936"},"directories":{},"publish_time":1482081766881,"_hasShrinkwrap":false,"_cnpm_publish_time":1482081766881,"_cnpmcore_publish_time":"2021-12-16T11:21:26.457Z"},"1.0.1":{"name":"@protobufjs/fetch","description":"Fetches the contents of a file accross node and browsers.","version":"1.0.1","author":{"name":"Daniel Wirtz","email":"dcode+protobufjs@dcode.io"},"repository":{"type":"git","url":"git+https://github.com/dcodeIO/protobuf.js.git"},"dependencies":{"@protobufjs/aspromise":"^1.0.0","@protobufjs/fs":"^1.0.0"},"license":"Apache-2.0","bugs":{"url":"https://github.com/dcodeIO/protobuf.js/issues"},"homepage":"https://github.com/dcodeIO/protobuf.js#readme","_id":"@protobufjs/fetch@1.0.1","scripts":{},"_shasum":"42cafca63962200d62614596adfe473026d2b273","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.9.1","_npmUser":{"name":"dcode","email":"dcode+npm@dcode.io"},"dist":{"shasum":"42cafca63962200d62614596adfe473026d2b273","size":5270,"noattachment":false,"tarball":"https://registry.npmmirror.com/@protobufjs/fetch/-/fetch-1.0.1.tgz","integrity":"sha512-SmMxHIx3lPxWF3oXhy1+bTavUZtD9EeRrwT9hDA7lnQkhBz/a7rXWTlM/aOw482hbX72oHg6Q58v1NgTphs1tw=="},"maintainers":[{"name":"protobufjs","email":"dcode+npm-protobufjs@dcode.io"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/fetch-1.0.1.tgz_1481582711590_0.2621838618069887"},"directories":{},"publish_time":1481582712316,"_hasShrinkwrap":false,"_cnpm_publish_time":1481582712316,"_cnpmcore_publish_time":"2021-12-16T11:21:26.695Z"},"1.0.0":{"name":"@protobufjs/fetch","description":"Fetches the contents of a file accross node and browsers.","version":"1.0.0","author":{"name":"Daniel Wirtz","email":"dcode+protobufjs@dcode.io"},"repository":{"type":"git","url":"git+https://github.com/dcodeIO/protobuf.js.git"},"dependencies":{"@protobufjs/aspromise":"^1.0.0","@protobufjs/fs":"^1.0.0"},"license":"Apache-2.0","bugs":{"url":"https://github.com/dcodeIO/protobuf.js/issues"},"homepage":"https://github.com/dcodeIO/protobuf.js#readme","_id":"@protobufjs/fetch@1.0.0","scripts":{},"_shasum":"a8d0dd9269a7f417c6dde4b90d0f648e28326184","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.9.1","_npmUser":{"name":"protobufjs","email":"dcode+protobufjs@dcode.io"},"dist":{"shasum":"a8d0dd9269a7f417c6dde4b90d0f648e28326184","size":5269,"noattachment":false,"tarball":"https://registry.npmmirror.com/@protobufjs/fetch/-/fetch-1.0.0.tgz","integrity":"sha512-buTInZVi3Wnw1gRIFNdRJfymbDDfcvQqlO8h+4n96m26y9oZo952keYZjp9Tu/R78PHy1Y+SZ3gmGC8tRfUeCg=="},"maintainers":[{"name":"protobufjs","email":"dcode+npm-protobufjs@dcode.io"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/fetch-1.0.0.tgz_1481551063520_0.639708592556417"},"directories":{},"publish_time":1481551064108,"_hasShrinkwrap":false,"_cnpm_publish_time":1481551064108,"_cnpmcore_publish_time":"2021-12-16T11:21:26.985Z"},"1.1.1":{"name":"@protobufjs/fetch","description":"Fetches the contents of a file accross node and browsers.","version":"1.1.1","author":{"name":"Daniel Wirtz","email":"dcode+protobufjs@dcode.io"},"repository":{"type":"git","url":"git+https://github.com/dcodeIO/protobuf.js.git"},"dependencies":{"@protobufjs/aspromise":"^1.1.1"},"license":"BSD-3-Clause","main":"index.js","types":"index.d.ts","browser":{"fs":false},"devDependencies":{"istanbul":"^0.4.5","tape":"^5.0.0"},"scripts":{"test":"tape tests/*.js","coverage":"istanbul cover node_modules/tape/bin/tape tests/*.js"},"gitHead":"e5a58c4b658739da42f1bc2efa3bdb0d1394edfb","_id":"@protobufjs/fetch@1.1.1","bugs":{"url":"https://github.com/dcodeIO/protobuf.js/issues"},"homepage":"https://github.com/dcodeIO/protobuf.js#readme","_nodeVersion":"24.15.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-GpptLrs57adMSuHi3VNj0mAF8dwh36LMaYF6XyJ6JMWlVsc+t42tm1HSEDmOs3A8fC9yyeisgLhsTVQokOZ0zw==","shasum":"4d6fc00c8fb64016a5c81b469d549046350f1065","tarball":"https://registry.npmmirror.com/@protobufjs/fetch/-/fetch-1.1.1.tgz","fileCount":9,"unpackedSize":14872,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBWIg4Ul2Ru57wkMFT0LV4INCokE/CpvKq/rTc3yJWNZAiBqt45ZhqUdlKWMTmJlJleYHUxpz0myaxM3Os57QUPYbw=="}],"size":4454},"_npmUser":{"name":"dcode","email":"dcode+npm@dcode.io"},"directories":{},"maintainers":[{"name":"dcode","email":"dcode+npm@dcode.io"},{"name":"protobufjs","email":"dcode+protobufjs@dcode.io"},{"name":"google-wombot","email":"node-team-npm+wombot@google.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/fetch_1.1.1_1779021662613_0.018653452347427768"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-05-17T12:41:02.731Z","publish_time":1779021662731,"_source_registry_name":"default"}},"bugs":{"url":"https://github.com/dcodeIO/protobuf.js/issues"},"homepage":"https://github.com/dcodeIO/protobuf.js#readme","repository":{"type":"git","url":"git+https://github.com/dcodeIO/protobuf.js.git"},"_source_registry_name":"default"}