{"_id":"@alayanetwork/web3-net","_rev":"1-a4df4884e10c9c542ec80405a163b1ab","name":"@alayanetwork/web3-net","dist-tags":{"latest":"0.13.2"},"versions":{"0.13.2":{"name":"@alayanetwork/web3-net","version":"0.13.2","description":"Web3 module to interact with the Ethereum nodes networking properties.","repository":{"type":"git","url":"https://github.com/PlatONnetwork/client-sdk-js/tree/alaya-dev/packages/web3-net"},"license":"LGPL-3.0","engines":{"node":">=8.0.0"},"types":"types/index.d.ts","scripts":{"dtslint":"dtslint types --onlyTestTsNext"},"main":"src/index.js","dependencies":{"@alayanetwork/web3-core":"0.13.2","@alayanetwork/web3-core-method":"0.13.2","@alayanetwork/web3-utils":"0.13.2"},"devDependencies":{"definitelytyped-header-parser":"^1.0.1","dtslint":"0.4.2"},"_id":"@alayanetwork/web3-net@0.13.2","_nodeVersion":"14.12.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-2751a8/vjEISOD0tTgZVfViSBFtZzruearTkT9PHzHlTIhmzCGOz4u3Of4L9zDlXX+Ow46XFIkxwGyFdvMtHDw==","shasum":"e8e95b5cff795a006f7e1d673556c3976aeb632b","tarball":"https://registry.npmjs.org/@alayanetwork/web3-net/-/web3-net-0.13.2.tgz","fileCount":7,"unpackedSize":6737,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfjpQLCRA9TVsSAnZWagAA3UcP/iGhDEWQSaOTzVbmJ16L\n9KNiZoHkYIaMMDRcZZYjipAqUq6aprCoSFH4Q6fFSmyIaDcOBdwsIyJ5BhUu\n6/Y3ik5xN9SOVS3RWhT6Z41I4RJiSPF+OxKiAM/oGoOeAXtfImuc0qXolXAU\nrEi2RDOuNwgTDqpvYzB3uSlwxO/B2/NtIQefut7gh7TdmSsHD6DvQnhNB98U\nQE/XRAoKnHJJLTCofZtE3n3fdqxIQN+PNHI0Irnup9bm1KAcDv5wPH0o8ZfC\nB0o6xOtIXjvOb6r7gN5mHPSSkYkRdvU/cmjV5Ob/NMs4MomYP9559uKijsjH\nkLyR3bYn3pFExWoEnTFy6mxvmQq1d9mSt+iy00Dv7HSTg/0R5fgwbp2yaglN\nFSrCUznTxKAxd11fwPHK4OSHznJ1705l2AcW98/xwW+aigQKqaxu7s9Ez+8G\nqh6AYYqpbh/UCccCGAriFSp/mKhQHyQprLPU3YWuK71TtXxrYIu22hnBNZ2E\nRfxR2zQVWWJ0eS76LgTjWMr56iAGlEx57TQonckqrKYmrMQXWhz2lDHqz8NQ\nlP9JAHvSyBjhQaP99hJ4EEaZhtS8O7xytAQY2pIoKC1+hPAcT6eqPCQcJ+s6\nzRQOX7l5GXkpoUjX23uY2gITxEaXkp9dRzOfPIRDfTkHs+G21DkXF9PsaSQ5\nHr4N\r\n=ZQ0O\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEe3t5lE8nENYwu+jOI6bs8xkQFzmvRCgd4DpV8zQ9uaAiA4Idpu3hn4olr3fhDeWX5iKH3kFe7HEqpfrK+s6yyOew=="}]},"maintainers":[{"name":"alayanetwork","email":"npm@latticex.foundation"}],"_npmUser":{"name":"alayanetwork","email":"npm@latticex.foundation"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/web3-net_0.13.2_1603179530975_0.37120995595881223"},"_hasShrinkwrap":false}},"time":{"created":"2020-10-20T07:38:50.931Z","0.13.2":"2020-10-20T07:38:51.100Z","modified":"2022-04-04T12:34:01.856Z"},"maintainers":[{"name":"alayanetwork","email":"npm@latticex.foundation"}],"description":"Web3 module to interact with the Ethereum nodes networking properties.","repository":{"type":"git","url":"https://github.com/PlatONnetwork/client-sdk-js/tree/alaya-dev/packages/web3-net"},"license":"LGPL-3.0","readme":"# web3-net\n\nThis is a sub package of [web3.js][repo]\n\nThis is the net package to be used in other web3.js packages.\nPlease read the [documentation][docs] for more.\n\n## Installation\n\n### Node.js\n\n```bash\nnpm install web3-net\n```\n\n### In the Browser\n\nBuild running the following in the [web3.js][repo] repository:\n\n```bash\nnpm run-script build-all\n```\n\nThen include `dist/web3-net.js` in your html file.\nThis will expose the `Web3Net` object on the window object.\n\n## Usage\n\n```js\n// in node.js\nvar Web3Net = require('web3-net');\n\nvar net = new Web3Net('ws://localhost:8546');\n```\n\n## Types\n\nAll the typescript typings are placed in the types folder.\n\n[docs]: http://web3js.readthedocs.io/en/1.0/\n[repo]: https://github.com/ethereum/web3.js\n","readmeFilename":"README.md"}