{"_id":"@protobufjs/fetch","_rev":"1282531","name":"@protobufjs/fetch","description":"Fetches the contents of a file accross node and browsers.","dist-tags":{"latest":"1.1.1"},"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"}],"time":{"modified":"2026-09-02T05:58:47.000Z","created":"2016-12-12T13:57:44.108Z","1.1.1":"2026-05-17T12:41:02.731Z","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"},"users":{},"author":{"name":"Daniel Wirtz","email":"dcode+protobufjs@dcode.io"},"repository":{"type":"git","url":"git+https://github.com/dcodeIO/protobuf.js.git"},"versions":{"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":"http://registry-npm.ywwl.com/@protobufjs/fetch/download/@protobufjs/fetch-1.1.1.tgz","fileCount":9,"unpackedSize":14872,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBWIg4Ul2Ru57wkMFT0LV4INCokE/CpvKq/rTc3yJWNZAiBqt45ZhqUdlKWMTmJlJleYHUxpz0myaxM3Os57QUPYbw=="}],"size":4454,"noattachment":false,"key":"/@protobufjs/fetch/-/@protobufjs/fetch-1.1.1.tgz"},"_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,"publish_time":1779021662731,"_cnpm_publish_time":1779021662731},"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","tarball":"http://registry-npm.ywwl.com/@protobufjs/fetch/download/@protobufjs/fetch-1.1.0.tgz","integrity":"sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDRhnYB70jWP+K5LIkX1g8mpbjPgBbTDZQn/uUGnQ9MpAIhANKQRRYqAFZIGUMRYVQxyKUtGeAOxot69pGKdCmJw2Dp"}],"size":3330,"noattachment":false,"key":"/@protobufjs/fetch/-/@protobufjs/fetch-1.1.0.tgz"},"maintainers":[{"name":"dcode","email":"dcode+npm@dcode.io"},{"name":"protobufjs","email":"dcode+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,"_cnpm_publish_time":1485532255061},"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","tarball":"http://registry-npm.ywwl.com/@protobufjs/fetch/download/@protobufjs/fetch-1.0.4.tgz","integrity":"sha512-7VkddFmtLjjdZrtYcDgQQ4NAotL/5JiFoNf9SQtd4eUR/YYYJ/fCP4hAz130jZjwOeLx1hGjit7AzGdbSFHKfg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJY4kpvfNzxyXF+lftd+7VW+5LLWJ+gnbeeQaWPsd1FAIhAJZuqKFGH108eIo9yg960a/CL45t6lDYuBJn9eqU3Cz7"}],"size":2291,"noattachment":false,"key":"/@protobufjs/fetch/-/@protobufjs/fetch-1.0.4.tgz"},"maintainers":[{"name":"dcode","email":"dcode+npm@dcode.io"},{"name":"protobufjs","email":"dcode+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,"_cnpm_publish_time":1483457483572},"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","tarball":"http://registry-npm.ywwl.com/@protobufjs/fetch/download/@protobufjs/fetch-1.0.3.tgz","integrity":"sha512-7h/IPEByzQi7ON98Fmf7XEyPB2M+n/whrsqbfGez6thFc9NqIBUcZCkv5COqG4a8io6vREwIAZ3HxrI22V5+ZQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEG9QAVq3SnYLP3+SlZZjvAjoCcFtocxGwWQqZLdMSFTAiBKYXDyip/DcL4l12+YpDmOltm4Hvhwi8ONUM2gVSLwNQ=="}],"size":2167,"noattachment":false,"key":"/@protobufjs/fetch/-/@protobufjs/fetch-1.0.3.tgz"},"maintainers":[{"name":"dcode","email":"dcode+npm@dcode.io"},{"name":"protobufjs","email":"dcode+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,"_cnpm_publish_time":1482269758201},"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","tarball":"http://registry-npm.ywwl.com/@protobufjs/fetch/download/@protobufjs/fetch-1.0.2.tgz","integrity":"sha512-xMkap1+9lW/t5fiRa7cDsCrXPA5qZeZ5kULV9tgETgtwl21E7qF8ugpvjjNmIsO2l73LA485K0UsJ9m5QTO9DA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIELtuhyqBN6tMAe5zjwrR8OIr0BQVrcRJL9G6ABABbyaAiAQhffSwWCVifb7lvWbMp3zbtKgtBr+PXeIBx0nhfHkAA=="}],"size":5287,"noattachment":false,"key":"/@protobufjs/fetch/-/@protobufjs/fetch-1.0.2.tgz"},"maintainers":[{"name":"dcode","email":"dcode+npm@dcode.io"},{"name":"protobufjs","email":"dcode+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,"_cnpm_publish_time":1482081766881},"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","tarball":"http://registry-npm.ywwl.com/@protobufjs/fetch/download/@protobufjs/fetch-1.0.1.tgz","integrity":"sha512-SmMxHIx3lPxWF3oXhy1+bTavUZtD9EeRrwT9hDA7lnQkhBz/a7rXWTlM/aOw482hbX72oHg6Q58v1NgTphs1tw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICOlklY0x80beWtorqtt5tb1f84iC2NokweWATezf1mWAiB8KW6a7JkcvqgAvNDBTu84f2LPptdU+0fMEQfyjlIsrQ=="}],"size":5270,"noattachment":false,"key":"/@protobufjs/fetch/-/@protobufjs/fetch-1.0.1.tgz"},"maintainers":[{"name":"dcode","email":"dcode+npm@dcode.io"},{"name":"protobufjs","email":"dcode+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,"_cnpm_publish_time":1481582712316},"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","tarball":"http://registry-npm.ywwl.com/@protobufjs/fetch/download/@protobufjs/fetch-1.0.0.tgz","integrity":"sha512-buTInZVi3Wnw1gRIFNdRJfymbDDfcvQqlO8h+4n96m26y9oZo952keYZjp9Tu/R78PHy1Y+SZ3gmGC8tRfUeCg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF1DPbGAkInbJ2nifICDupsT2dgyQOlTUxdhi27SSlKfAiBUn43qZYAKgWWQccfKV3/lCTmZ3pKO28rjaMXpI/tOGw=="}],"size":5269,"noattachment":false,"key":"/@protobufjs/fetch/-/@protobufjs/fetch-1.0.0.tgz"},"maintainers":[{"name":"protobufjs","email":"dcode+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,"_cnpm_publish_time":1481551064108}},"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","_attachments":{},"homepage":"https://github.com/dcodeIO/protobuf.js#readme","bugs":{"url":"https://github.com/dcodeIO/protobuf.js/issues"},"license":"BSD-3-Clause"}