{"_id":"resolve-protobuf-schema","_rev":"11-877b12e99369b4b54ffc305bb55b5f9b","name":"resolve-protobuf-schema","description":"Read a protobuf schema from the disk, parse it and resolve all imports","dist-tags":{"latest":"2.1.0"},"versions":{"1.0.0":{"name":"resolve-protobuf-schema","version":"1.0.0","description":"Read a protobuf schema from the disk, parse it and resolve all imports","main":"index.js","dependencies":{"protobuf-schema":"^1.2.0"},"devDependencies":{"tape":"^3.0.0"},"scripts":{"test":"tape test/index.js"},"repository":{"type":"git","url":"https://github.com/mafintosh/resolve-protobuf-schema.git"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/resolve-protobuf-schema/issues"},"homepage":"https://github.com/mafintosh/resolve-protobuf-schema","gitHead":"d659a016270f75220b4b0ef093b6768e8d24ed0a","_id":"resolve-protobuf-schema@1.0.0","_shasum":"6da32af7cd5a7932a82237ead21ded998778e290","_from":".","_npmVersion":"2.0.0","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"dist":{"shasum":"6da32af7cd5a7932a82237ead21ded998778e290","tarball":"https://registry.npmjs.org/resolve-protobuf-schema/-/resolve-protobuf-schema-1.0.0.tgz","integrity":"sha512-Ll/udOwyi+XcWIvo75Blg8TNLHfX0A6bOVM68vBS774++DPXFuhpziGIu3kp7n0+794jWsbKxoJL9wiAxqN39A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGgJrsXz0ZNNaWmehY/0xct5WeYncH3HJqKPGXqmwtG7AiEAktqy/oi3c79G0cvDTH27eE4JiK8tfMaY9Nh+9OUFN9U="}]},"directories":{}},"1.0.1":{"name":"resolve-protobuf-schema","version":"1.0.1","description":"Read a protobuf schema from the disk, parse it and resolve all imports","main":"index.js","dependencies":{"protobuf-schema":"^1.2.0"},"devDependencies":{"tape":"^3.0.0"},"scripts":{"test":"tape test/index.js"},"repository":{"type":"git","url":"https://github.com/mafintosh/resolve-protobuf-schema.git"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/resolve-protobuf-schema/issues"},"homepage":"https://github.com/mafintosh/resolve-protobuf-schema","gitHead":"b044a40986587357c69f246237f3c7304cf58df4","_id":"resolve-protobuf-schema@1.0.1","_shasum":"30511d6ce18984829c4076b1dd70ed4a9532d6a2","_from":".","_npmVersion":"2.0.0","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"dist":{"shasum":"30511d6ce18984829c4076b1dd70ed4a9532d6a2","tarball":"https://registry.npmjs.org/resolve-protobuf-schema/-/resolve-protobuf-schema-1.0.1.tgz","integrity":"sha512-qqI8Mfa3ZAj5qK80Yrqr7s/qiIdZsYt66gkQkoiJpOSn1xeVVucXhFjjF2p/6DivOhTTReN7VJyASQ/d5cq6wg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDsn4V7tuy+tEURcVN1IBOel2Z07k/koZls6YX27vmGRQIhAL0/W+sEYiU2P6wiRzz7pK0vEDxBGVnb3/8JYsFSn3au"}]},"directories":{}},"1.0.2":{"name":"resolve-protobuf-schema","version":"1.0.2","description":"Read a protobuf schema from the disk, parse it and resolve all imports","main":"index.js","dependencies":{"protobuf-schema":"^1.2.0"},"devDependencies":{"tape":"^3.0.0"},"scripts":{"test":"tape test/index.js"},"repository":{"type":"git","url":"https://github.com/mafintosh/resolve-protobuf-schema.git"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/resolve-protobuf-schema/issues"},"homepage":"https://github.com/mafintosh/resolve-protobuf-schema","gitHead":"df6f20e54ee792369152b93c6e402c2d52489c67","_id":"resolve-protobuf-schema@1.0.2","_shasum":"91219afe30415d55dadbdf3813292bd2223c5990","_from":".","_npmVersion":"2.0.0","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"dist":{"shasum":"91219afe30415d55dadbdf3813292bd2223c5990","tarball":"https://registry.npmjs.org/resolve-protobuf-schema/-/resolve-protobuf-schema-1.0.2.tgz","integrity":"sha512-x9optLjaRApo9b/CKahouGGpkUYbsBfEp3TpmwQCZUcu4t7c6hTXPWVwpDdy4Y4e5wKtg/G15rp1btIAQG2waA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDh0FGihI9sQwN1wjxrt1bo7OLXWJGFH4NeJYkQAd8uYQIhAODMJROseEUAGusCuMWOSCvNH/YfySxyiiLkhmTXSjmI"}]},"directories":{}},"2.0.0":{"name":"resolve-protobuf-schema","version":"2.0.0","description":"Read a protobuf schema from the disk, parse it and resolve all imports","main":"index.js","dependencies":{"protocol-buffers-schema":"^2.0.2"},"devDependencies":{"tape":"^3.0.0"},"scripts":{"test":"tape test/index.js"},"repository":{"type":"git","url":"https://github.com/mafintosh/resolve-protobuf-schema.git"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/resolve-protobuf-schema/issues"},"homepage":"https://github.com/mafintosh/resolve-protobuf-schema","gitHead":"28153b2360f35473e007534aa0991c8c97eb7088","_id":"resolve-protobuf-schema@2.0.0","_shasum":"e67b062a67f02d11bd6886e70efda788407e0fb4","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"dist":{"shasum":"e67b062a67f02d11bd6886e70efda788407e0fb4","tarball":"https://registry.npmjs.org/resolve-protobuf-schema/-/resolve-protobuf-schema-2.0.0.tgz","integrity":"sha512-bxuCZAFsWdcAEHa3qp+dlzwNchW0oDxf8G1/dqizNYVmCFpaxdbIiIKUMYR70MwvQMBdpAz4fFvwQObbHYClmw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID6MA5jceQTFu4A42mJPRNP6bthWKxtrb8bdNS7W+PzdAiBENpaW+KamedKQ3VSYm2uf41zJ2+r53emCqYXgE4CD1Q=="}]},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"directories":{}},"2.1.0":{"name":"resolve-protobuf-schema","version":"2.1.0","description":"Read a protobuf schema from the disk, parse it and resolve all imports","main":"index.js","dependencies":{"protocol-buffers-schema":"^3.3.1"},"devDependencies":{"tape":"^3.0.0"},"scripts":{"test":"tape test/index.js"},"repository":{"type":"git","url":"git+https://github.com/mafintosh/resolve-protobuf-schema.git"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/resolve-protobuf-schema/issues"},"homepage":"https://github.com/mafintosh/resolve-protobuf-schema","gitHead":"a1cc27799461a4bd5445717422655a73d9fcb0b7","_id":"resolve-protobuf-schema@2.1.0","_npmVersion":"6.1.0","_nodeVersion":"10.7.0","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"dist":{"integrity":"sha512-kI5ffTiZWmJaS/huM8wZfEMer1eRd7oJQhDuxeCLe3t7N7mX3z94CN0xPxBQxFYQTSNz9T0i+v6inKqSdK8xrQ==","shasum":"9ca9a9e69cf192bbdaf1006ec1973948aa4a3758","tarball":"https://registry.npmjs.org/resolve-protobuf-schema/-/resolve-protobuf-schema-2.1.0.tgz","fileCount":9,"unpackedSize":5243,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbUgSkCRA9TVsSAnZWagAAgIcP/johkwFUkukOChKs7j4C\ns+IaFAYhp/k9SqF/UcB4+HOthGaqXzCfFMWVD0uMTymwnj1UlY2G27VU0rjX\nw/FgMCv7Sn8KsLBySRuKscxvBYac8ViaUOTDbIntQERIeM9EMHlFBWHjDXqu\niBgUVSgEhCwstH1JnZ3l/NhHQQ/xXDOzdo70WTsra5B3n4N+ofxt3ZA19WaP\n5Jy1HZut6s/dvqfipvMATMTiYffMjTgUYCGXs5QqFA0swrPMnbVXoAw4G5z4\nLsg2MD4zJ+J81VBFOF12DfToNtDFuF4y7XN0/qKgcWmnqUAAdEQqsBVwjSPg\nfRkMCf/D927DJLqJWDMaoiWnGaYm87OszjzATOsQNXamWG4CDuZeHLm6XSNh\ngGLV1ZkUkGAUr4yJRUobGiKD3skJK+5I8/vd8tedncsolr2FSlcQwOfo9FoF\nfVbJOgpviWRuqeQuTqoju1m2W7TB0jkfCiUvmwXgr2n8c5Rrj2+P4k83tIvK\nypULbpMrIwVp2ZCzddBJFbxoVnaCe4oN7rWCOhoEISNIfpqezzLGG1V1hsvq\nSNHKI/9StOnZbgb8StDKytR4RQ54zRLW50azI6jtfJtU0Fu16BHbEMb45dzw\nDzerS6b34wl19uouUY2TA8ruQz+a7oByI6hRWVYkkRKr2Jos+vi01mpDIBNs\n0TCW\r\n=ZnMH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBYnkn98tTVvguXM4rXBlriYzFQL9P2kX0z40qiytkfRAiB/7npmxwe6Leg7iLDpkd3b3anPNZIoN3hBP2M2FBDtSg=="}]},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resolve-protobuf-schema_2.1.0_1532101796704_0.33179004667463574"},"_hasShrinkwrap":false}},"readme":"# resolve-protobuf-schema\n\nRead a protobuf schema from the disk, parse it and resolve all imports\n\n```\nnpm install resolve-protobuf-schema\n```\n\n[![build status](http://img.shields.io/travis/mafintosh/resolve-protobuf-schema.svg?style=flat)](http://travis-ci.org/mafintosh/resolve-protobuf-schema)\n\n## Usage\n\nStore the following example protobuf schema in `test.proto`\n\n```\nmessage Test {\n  optional string test = 1;\n}\n```\n\nThen run\n\n``` js\nvar resolve = require('resolve-protobuf-schema')\nconsole.log(resolve.sync('test.proto')) // prints the parsed schema\n```\n\nSchema imports will resolved as well\n\n```\nimport \"./test.proto\"\n\nmessage AnotherTest {\n  optional string test = 1;\n}\n```\n\n``` js\nconsole.log(resolve.sync('./another-test.proto')) // will print a combined parsed schema\n```\n\n## API\n\n* `resolve(path, cb)` read and resolve a schema\n* `resolve.sync(path)` sync version of `resolve`\n\n## License\n\nMIT\n","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"time":{"modified":"2022-06-26T11:53:06.921Z","created":"2014-10-12T05:20:38.230Z","1.0.0":"2014-10-12T05:20:38.230Z","1.0.1":"2014-10-12T05:22:32.991Z","1.0.2":"2014-10-12T05:45:03.686Z","2.0.0":"2015-07-02T20:44:15.003Z","2.1.0":"2018-07-20T15:49:56.796Z"},"homepage":"https://github.com/mafintosh/resolve-protobuf-schema","repository":{"type":"git","url":"git+https://github.com/mafintosh/resolve-protobuf-schema.git"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"bugs":{"url":"https://github.com/mafintosh/resolve-protobuf-schema/issues"},"license":"MIT","readmeFilename":"README.md"}