{"bugs":{"url":"https://github.com/grpc/grpc-node/issues"},"dist":{"shasum":"0faf0c6bf8fd319da510dc2f661b2855876aa150","tarball":"https://registry.npmjs.org/grpc/-/grpc-1.15.0.tgz","fileCount":2035,"integrity":"sha512-EBvJ0AZDg3ka0rAt97t4HwvJhY/ePefbQGTlxQeeqkZSCw60mVkqRtXCXN+7MjOI4NAb28cKMjUXtOMjFE+D4Q==","signatures":[{"sig":"MEUCIEf4Jl4oFKdgzS77LwM1RAzMiZNd+jgmPr8dyl86c+yDAiEArjAEqwiq08d0P2pP7oEJ9iXGtkTi2g7QE89edyD2RMo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18707729,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmX/hCRA9TVsSAnZWagAAUOUP/194ekvzqu5iXYKZgxNM\nZj+XCZCRCWA26C8s+IvezEb+O/MmjQ2j/D4ZQI2mfeaBYqOh6eM/ThmhYr0N\nmb4BeMvPQirG+sVFem3211gueS4bMnMd+EnJ+A8kuYax7M2z0YFtO3AT5Prm\nsXo6Xfwsezrr5JoF8joq0AV4tQ3c4TKQ8kA1UbCAsaV/mluB4ZjsW5uLJ6dD\ni+5KRfWtJ8hD2wfCqGJoBpwXPw2cHnRrwryPbA95lnXmZYhimAcoC+gu0ody\nfsLU/XM02fo0ky6n84zTr2Hh33bVwM4b8i5BZmTxLFvHmPN2Gt/rqf/6fEXO\nlcumkwPn1BqivW8d8Ob9MSxey/4c0Zrnbo1+qcD4ftE+ws91myRrEXp671TJ\nvU3Ie3WpPdB4uCAoqx4M1ahRaO6P8uuGJW0nULtPWJZrNrbOlH0cYYQ66rKH\ns35Y0nCpyn8Y48REk5jFdeo4qWGCwCEB/hh/THQc5KYbqsd75M6M+OKQAPK1\nNyyuw3TnEtJgVElhL+iI9Jh79+shPgq1d2LYFN4PUyPMz3e6GEDx16zntOgu\nMJtNBDtb82IRAgjN3XCnORKmjoC6MO4WYPqmDSMN0mJ0elNtF+Cph+VEffeN\nHoXQwpYuIMyJGZmvQs3skJtsyrYnHtqpsLaNRzWs9IF102BWwyt+iGotO1f2\nqex3\r\n=UXXl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","name":"grpc","author":{"name":"Google Inc."},"binary":{"host":"https://node-precompiled-binaries.grpc.io/","module_name":"grpc_node","module_path":"src/node/extension_binary/{node_abi}-{platform}-{arch}-{libc}","remote_path":"{name}/v{version}","package_name":"{node_abi}-{platform}-{arch}-{libc}.tar.gz"},"readme":"[![npm](https://img.shields.io/npm/v/grpc.svg)](https://www.npmjs.com/package/grpc)\n# Node.js gRPC Library\n\n## PREREQUISITES\n- `node`: This requires `node` to be installed, version `4.0` or above. If you instead have the `nodejs` executable on Debian, you should install the [`nodejs-legacy`](https://packages.debian.org/sid/nodejs-legacy) package.\n\n- **Note:** If you installed `node` via a package manager and the version is still less than `4.0`, try directly installing it from [nodejs.org](https://nodejs.org).\n\n## INSTALLATION\n\nInstall the gRPC NPM package\n\n```sh\nnpm install grpc\n```\n\n## ABOUT ELECTRON\n\nThe official electron documentation recommends to [build all of your native packages from source](https://electronjs.org/docs/tutorial/using-native-node-modules#modules-that-rely-on-node-pre-gyp). While the reasons behind this are technically good - many native extensions won't be packaged to work properly with electron - the gRPC source code is fairly difficult to build from source due to its complex nature, and we're also providing working electron pre-built binaries. Therefore, we recommend that you do not follow this model for using gRPC with electron. Also, for the same reason, `electron-rebuild` will always build from source. We advise you to not use this tool if you are depending on gRPC. Please note that there's not just one way to get native extensions running in electron, and that there's never any silver bullet for anything. The following instructions try to cater about some of the most generic ways, but different edge cases might require different methodologies.\n\nThe best to get gRPC to work with electron is to do this, possibly in your `postinstall` script of your `package.json` file:\n\n```\nnpm rebuild --target=2.0.0 --runtime=electron --dist-url=https://atom.io/download/electron\n```\n\nNote that the `2.0.0` above is the electron runtime version number. You will need to update this every time you go on a different version of the runtime.\n\nIf you have more native dependencies than gRPC, and they work better when built from source, you can explicitely specify which extension to build the following way:\n\n```\nnpm rebuild --build-from-source=sqlite3 --target=2.0.0 --runtime=electron --dist-url=https://atom.io/download/electron\n```\n\nThis way, if you depend on both `grpc` and `sqlite3`, only the `sqlite3` package will be rebuilt from source, leaving the `grpc` package to use its precompiled binaries.\n\n## BUILD FROM SOURCE\n 1. Clone [the grpc Git Repository](https://github.com/grpc/grpc).\n 2. Run `npm install --build-from-source` from the repository root.\n\n - **Note:** On Windows, this might fail due to [nodejs issue #4932](https://github.com/nodejs/node/issues/4932) in which case, you will see something like the following in `npm install`'s output (towards the very beginning):\n\n    ```\n     ..\n     Building the projects in this solution one at a time. To enable parallel build, please add the \"/m\" switch.\n     WINDOWS_BUILD_WARNING\n      \"..\\IMPORTANT: Due to https:\\github.com\\nodejs\\node\\issues\\4932, to build this library on Windows, you must first remove C:\\Users\\jenkins\\.node-gyp\\4.4.0\\include\\node\\openssl\"\n      ...\n      ..\n    ```\n\n    To fix this, you will have to delete the folder `C:\\Users\\<username>\\.node-gyp\\<node_version>\\include\\node\\openssl` and retry `npm install`\n\n## CONFIGURE BINARIES' LOCATION\n\nYou can configure the location from which the pre-compiled binaries are downloaded during installation.\n\n`npm install --grpc_node_binary_host_mirror=https://your-url.com`\n\nOr defining `grpc_node_binary_host_mirror` in your `.npmrc`.\n\n## API DOCUMENTATION\n\nSee the [API Documentation](https://grpc.io/grpc/node/).\n\n## TESTING\nTo run the test suite, simply run `npm test` in the install location.\n","engines":{"node":">=4"},"license":"Apache-2.0","scripts":{"build":"node-pre-gyp build","install":"node-pre-gyp install --fallback-to-build --library=static_library","prepack":"git submodule update --init --recursive && npm install","coverage":"istanbul cover ./node_modules/.bin/_mocha test","electron-build":"node-pre-gyp configure build --runtime=electron --disturl=https://atom.io/download/atom-shell"},"typings":"index.d.ts","_npmUser":{"name":"nicolasnoble","email":"nicolas@nobis-crew.org"},"homepage":"https://grpc.io/","deprecated":"This library will not receive further updates other than security fixes. We recommend using @grpc/grpc-js instead.","repository":{"url":"git+https://github.com/grpc/grpc-node.git","type":"git"},"_npmVersion":"6.4.1","description":"gRPC Library for Node","directories":{"lib":"src"},"maintainers":[{"name":"grpc-packages","email":"grpc-packages@google.com"},{"name":"murgatroid99","email":"mlumish@google.com"}],"_nodeVersion":"8.11.4","contributors":[{"name":"Michael Lumish","email":"mlumish@google.com"}],"dependencies":{"nan":"^2.0.0","lodash":"^4.17.5","protobufjs":"^5.0.3","node-pre-gyp":"^0.10.0"},"jshintConfig":{"node":true,"curly":true,"immed":true,"mocha":true,"noarg":true,"undef":true,"eqeqeq":true,"esnext":true,"freeze":true,"indent":2,"maxlen":80,"newcap":true,"strict":true,"unused":"vars","bitwise":true,"latedef":"nofunc","quotmark":"single","trailing":true},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"async":"^2.0.1","lodash":"^4.17.4","express":"^4.14.0","istanbul":"^0.4.4","minimist":"^1.1.0","node-forge":"^0.7.5","body-parser":"^1.15.2","electron-mocha":"^3.1.1","google-protobuf":"^3.0.0","poisson-process":"^0.2.1","google-auth-library":"^0.9.2"},"bundleDependencies":["node-pre-gyp"],"_npmOperationalInternal":{"tmp":"tmp/grpc_1.15.0_1536786400370_0.86280967059321","host":"s3://npm-registry-packages"},"_id":"grpc@1.15.0","version":"1.15.0"}