{"_id":"@blockpool-io/peers","_rev":"3-9712f548162ec9d8719576c7e2eb1b98","name":"@blockpool-io/peers","dist-tags":{"latest":"0.2.1"},"versions":{"0.1.2":{"name":"@blockpool-io/peers","version":"0.1.2","description":"A simple TypeScript peer discovery client for the Blockpool Blockchain.","public":true,"homepage":"https://github.com/blockpool-io/typescript-peers","bugs":{"url":"https://github.com/blockpool-io/typescript-peers/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/blockpool-io/typescript-peers.git"},"license":"MIT","author":{"name":"Brian Faust","email":"hello@basecode.sh"},"main":"dist/index","types":"dist/index","scripts":{"build":"yarn clean && tsc","build:watch":"yarn build -w","clean":"rimraf .coverage dist tmp","format":"yarn lint && yarn prettier","lint":"tslint -c tslint.json -p tslint.json 'src/**/*.ts' --fix","prepublishOnly":"yarn build","prettier":"prettier --write \"./*.{ts,js,json,md}\" \"./**/*.{ts,js,json,md}\"","test":"jest","test:watch":"jest --watchAll"},"jest":{"bail":false,"collectCoverage":true,"collectCoverageFrom":["src/**/*.ts","!src/index.ts","!src/cli/**/*.ts","!**/node_modules/**"],"coverageDirectory":"<rootDir>/.coverage","coverageReporters":["json","lcov","text","clover","html"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"setupFilesAfterEnv":["jest-extended"],"testEnvironment":"node","testMatch":["**/*.test.ts"],"transform":{"^.+\\.tsx?$":"ts-jest"},"verbose":true},"dependencies":{"got":"^9.6.0","is-url-superb":"^3.0.0","lodash.orderby":"^4.6.0","semver":"^6.2.0"},"devDependencies":{"@faustbrian/tslint":"^0.1.3","@types/got":"^9.6.0","@types/lodash.orderby":"^4.6.6","@types/prettier":"^1.16.4","@types/rimraf":"^2.0.2","@types/semver":"^6.0.1","codecov":"^3.5.0","jest":"^24.8.0","jest-extended":"^0.11.1","prettier":"^1.18.2","rimraf":"^2.6.3","ts-jest":"^24.0.2","tslint":"^5.18.0","typescript":"^3.5.2"},"engines":{"node":">=10.x"},"gitHead":"b8d2a23049d19ffab54eb33108ac1ff6e04a0d91","_id":"@blockpool-io/peers@0.1.2","_nodeVersion":"11.15.0","_npmVersion":"6.9.0","_npmUser":{"name":"blockpool-io","email":"support@blockpool.io"},"dist":{"integrity":"sha512-8Fa/mj1Gy7cr9A6seKwtXsQFkKyVlXbX0Twu0sDajnf+8BX0JcMlyEsSxO2hoeuVRePNZWOS1J82RD5aVIg/Ew==","shasum":"3e9e7fec896994786fb3f15e6f6fc0e5a9b0a90d","tarball":"https://registry.npmjs.org/@blockpool-io/peers/-/peers-0.1.2.tgz","fileCount":17,"unpackedSize":173293,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdRxCWCRA9TVsSAnZWagAAAC4P/R4QzzatYrg3/suuQ6FY\n63DHLdjk2dgFRNYqwCjzqrYueQS9fGGtfL4q3z0i8WsfeVQWBfoF427yHPeM\nEh1W1hqzL4n7q2jl2Deg0u7qEuCIIkwf86T0SCFL6xPtUZi5SSI3z/Fiq6Yo\nx56R0qy5IKZZ/2QWvop5DCGvodO9X075xSMsOg5qTE1hnKPYw73zBGwCD4Qd\n7XFQHR3ZgRi999a+vE1QOkzbZHWL7WgMHbRqdNv+CHKEJ+M1QqOXwf5AZwzj\ndBudIJZfm3scnvgtMGBYWj8UxWMA7hIaG2BpK0UVfPho1O79aBCOKHlYtHb6\nJ4tFbHm9tycNpLYwq/T3El4Y9eIsfL50X1civBvvuCCWY4y6pUS6RLvcUfdv\nNFKw8An3FoSDweyy0Pj6k6A79GIWvgiHdh30lUfQRx0F0CjMyMgAe426ETXm\n10G1Dl9i9CCBYPVwCez/d1JLQUjE/1GrEIYy7RpqIS2+edPmcG/ujMvgPHGP\nMEmt6z/OSyO8VQesLpynPo+Rcye/0vriSO3d/N65K0gyJne4RUazFrqjuY6z\nW6bdJHWiggMa4e5SS9EU6cRk3a8A4AiD4nS/wu4OjMEDDEaTWAgaqUC4KTNR\nlSaBL8l6ZK1BvyQjOtN2Biidn7G/Z46knlhHMaEHuXEgu9MBdCPcQmHStvov\n6mIf\r\n=CFpX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDUnyrQMmgJYkeBGFIlaXC8FHkT9TqO8LtNmf744RLU9AiBCjCgGNIRwraCdaom+XHlXtTG26mWiluIZWS1mEiZf8A=="}]},"maintainers":[{"name":"blockpool-io","email":"support@blockpool.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/peers_0.1.2_1564938389958_0.5133904905745814"},"_hasShrinkwrap":false},"0.1.3":{"name":"@blockpool-io/peers","version":"0.1.3","description":"A simple TypeScript peer discovery client for the Blockpool Blockchain.","public":true,"homepage":"https://github.com/blockpool-io/typescript-peers","bugs":{"url":"https://github.com/blockpool-io/typescript-peers/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/blockpool-io/typescript-peers.git"},"license":"MIT","author":{"name":"Brian Faust","email":"hello@basecode.sh"},"main":"dist/index","types":"dist/index","scripts":{"build":"yarn clean && tsc","build:watch":"yarn build -w","clean":"rimraf .coverage dist tmp","format":"yarn lint && yarn prettier","lint":"tslint -c tslint.json -p tslint.json 'src/**/*.ts' --fix","prepublishOnly":"yarn build","prettier":"prettier --write \"./*.{ts,js,json,md}\" \"./**/*.{ts,js,json,md}\"","test":"jest","test:watch":"jest --watchAll"},"jest":{"bail":false,"collectCoverage":true,"collectCoverageFrom":["src/**/*.ts","!src/index.ts","!src/cli/**/*.ts","!**/node_modules/**"],"coverageDirectory":"<rootDir>/.coverage","coverageReporters":["json","lcov","text","clover","html"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"setupFilesAfterEnv":["jest-extended"],"testEnvironment":"node","testMatch":["**/*.test.ts"],"transform":{"^.+\\.tsx?$":"ts-jest"},"verbose":true},"dependencies":{"got":"^9.6.0","is-url-superb":"^3.0.0","lodash.orderby":"^4.6.0","semver":"^6.2.0"},"devDependencies":{"@faustbrian/tslint":"^0.1.3","@types/got":"^9.6.0","@types/lodash.orderby":"^4.6.6","@types/prettier":"^1.16.4","@types/rimraf":"^2.0.2","@types/semver":"^6.0.1","codecov":"^3.5.0","jest":"^24.8.0","jest-extended":"^0.11.1","prettier":"^1.18.2","rimraf":"^2.6.3","ts-jest":"^24.0.2","tslint":"^5.18.0","typescript":"^3.5.2"},"engines":{"node":">=10.x"},"gitHead":"b8d2a23049d19ffab54eb33108ac1ff6e04a0d91","_id":"@blockpool-io/peers@0.1.3","_nodeVersion":"11.15.0","_npmVersion":"6.9.0","_npmUser":{"name":"blockpool-io","email":"support@blockpool.io"},"dist":{"integrity":"sha512-T24/whoS2rThTqPr9K7iqLb1oeNktRhJLcNJyVF/2XBNIobNHGGuiRNbYDvq3APDdGNL+EUAkD6Nnc0jIEfQHg==","shasum":"4f34ad9b3116d02e0a32cad5ceab3e3574049abf","tarball":"https://registry.npmjs.org/@blockpool-io/peers/-/peers-0.1.3.tgz","fileCount":17,"unpackedSize":173323,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdTvNvCRA9TVsSAnZWagAAkqUP/RrP/N+UKr6MsHo9hax1\nNk0xRt/XSElnMu6XC73j4oILhjHfrentBplYDF6r+ghl54f9jrB317SXwzhS\nxfCrP69JA6t2xHIQsUOOjbs3VcfU0gm7rsvPWz66eGIqgKuZJpA8nehZJZdX\nngzObC40VbXlab2nyeSAAABfDUd2cnfkYUO7SUoABshHul7NehqL84IzqDhh\nhmFQkrmTN773UJ78xg3Y3oJDnzlNbmUHtbm/AANEcxOlsANmDCMRNsK94vaZ\n364ijXJ3SdknoCfrqw9H4FceENTgfv+b1WqElyrEFXeIMBdXq0Scd4y9MZ0Y\nCaUAffkwbQtS6Lv2S1PleDFyTK2HimiwHCm8FrzcfA64tIDw4HxUx9Y3bYCu\nI/Zt3rI7mxGmonfCYHw0xUXkjwI7RDD1vzBqBgNldVptZp6MEeQ/mkZiN4XE\ni8i08yF5MMC+hS+ywcc9SY4mho1OTi3ZV4yGdS/APQu4YLrjbOhJKI5U20yv\n3K/d5MjmM3JciRqhhSOJQFBisKDF58czF8dYFpHSPGiuhEjtLuXiV2I311sf\n7QaQWcDAmfRPF6FsxkkthVPsMD8OFhQ7HJ8ydfrIsmIytzNfgNPdeYgjMyFt\n4NJ2RR4BKI1Th1aY/HtOP396PD255qSWYAD2Yfd2WA5sgoTR6OKFHyfh7Zay\nNgS1\r\n=wfXT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICYtvC3S9Kevom+tiwlaU91kkxI5TKbwXpOa7D7mjQtdAiEA2lJRowP2iPbI/piqB3o1L8gBJPqVCWuzXRJDAOjLh9c="}]},"maintainers":[{"name":"blockpool-io","email":"support@blockpool.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/peers_0.1.3_1565455214980_0.675024127700951"},"_hasShrinkwrap":false},"0.2.1":{"name":"@blockpool-io/peers","version":"0.2.1","description":"A simple TypeScript peer discovery client for the Blockpool Blockchain.","public":true,"homepage":"https://github.com/blockpool-io/typescript-peers","bugs":{"url":"https://github.com/blockpool-io/typescript-peers/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/blockpool-io/typescript-peers.git"},"license":"MIT","author":{"name":"Brian Faust","email":"hello@basecode.sh"},"main":"dist/index","types":"dist/index","scripts":{"build":"yarn clean && tsc","build:watch":"yarn build -w","clean":"rimraf .coverage dist tmp","format":"yarn lint && yarn prettier","lint":"tslint -c tslint.json -p tslint.json 'src/**/*.ts' --fix","prepublishOnly":"yarn build","prettier":"prettier --write \"./*.{ts,js,json,md}\" \"./**/*.{ts,js,json,md}\"","test":"jest","test:watch":"jest --watchAll"},"jest":{"bail":true,"collectCoverage":true,"collectCoverageFrom":["src/**/*.ts","!src/index.ts","!src/cli/**/*.ts","!**/node_modules/**"],"coverageDirectory":"<rootDir>/.coverage","coverageReporters":["json","lcov","text","clover","html"],"moduleFileExtensions":["ts","tsx","js","jsx","json","node"],"setupFilesAfterEnv":["jest-extended"],"testEnvironment":"node","testMatch":["**/*.test.ts"],"transform":{"^.+\\.tsx?$":"ts-jest"},"verbose":false},"dependencies":{"got":"^9.6.0","is-url-superb":"^3.0.0","lodash.orderby":"^4.6.0","nock":"^11.0.0-beta.31","semver":"^6.2.0"},"devDependencies":{"@faustbrian/tslint":"^0.1.3","@types/got":"^9.6.0","@types/jest":"^24.0.18","@types/lodash.orderby":"^4.6.6","@types/prettier":"^1.16.4","@types/rimraf":"^2.0.2","@types/semver":"^6.0.1","codecov":"^3.5.0","jest":"^24.8.0","jest-extended":"^0.11.1","prettier":"^1.18.2","rimraf":"^2.6.3","ts-jest":"^24.0.2","tslint":"^5.18.0","typescript":"^3.5.2"},"engines":{"node":">=10.x"},"gitHead":"890ddaa6f97a34c6df81af88097e24e729328d5c","_id":"@blockpool-io/peers@0.2.1","_nodeVersion":"11.15.0","_npmVersion":"6.9.0","_npmUser":{"name":"blockpool-io","email":"support@blockpool.io"},"dist":{"integrity":"sha512-DWF6XHeU0UlqXUYrbD4IAgC2JpfY3Zx1v8onmn4yz8ayGAH/ablo/ScxwtOER0frQlsz75LA8UDbfj0MWii33w==","shasum":"bce44333b603ef551a1015c57e41580b9cc8a11b","tarball":"https://registry.npmjs.org/@blockpool-io/peers/-/peers-0.2.1.tgz","fileCount":14,"unpackedSize":178008,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdcG27CRA9TVsSAnZWagAAmbwP/24kUD/nNtCooBH4xK5Z\nTJb+KF8WgmYzqpfHUCS7hY5k9EzvYzWNmKYlDKVV2DGcpTZF5/4Y8jHPEKpN\n7kbRAnZwMeOaLJbvxHOVyyxVNEBjztoAIHQCIEaVQGii5a6C7zgqy+9rLkef\nIaIUVixHftWhXD8ogs18yqvyO/47s6jWj02DUIHcG9x8sCux4Yu/dTM0SqpH\n8s8+pu33oD+z623GK2r0ay0Bi1m5oED1tmkDHTiypB3Dl/jY5A5YWr6XiFVe\nJIZGELJKHAeOAWnEkryhNtFI8XweASKD/KJOskRIJ4oqOzpB8t6FtBY27r/U\n+/qE4DAPNn0j3wFJB/+Sk+jxxyYjJMvQ7lcd7piazLsTdU+tBEyfl3C+IU5X\nKEzHQgbKzmQAiwz6MMflGYGY6g7tK85l63GOmR1OtN/v3mXhSR4FqUUT6kaR\nvqG5MPgsckP6xatKGdE4ajFDZrsnAMJJUoWJol6kI4XXt9gfQxZ7WDIivDXJ\ndtJz7YSuDGzqA2Ol2wx6bHFdRIq/I44BBsCV+orbe459KxrZzKT9/0nZHAFG\nU70oGoMuTfeWP67A1WR42W382S5v6BTjpbPYI8PnbBr2ttJfDrIxdL+lEoiA\nquCbeBLt6JhZ9+DYdCts/Jt7fz1Ws2UxmCND7qNdLJnI8NVth9K5ucbxxR2A\nRvP5\r\n=j34L\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG4oAnXFfebJZJHv2Afgeu5zqcPwKlrb9095nVdpL8vHAiEAy2p2+xXJbKSUz4LeokqRY7EzdSm97bjHcLxZXQe3uh4="}]},"maintainers":[{"name":"blockpool-io","email":"support@blockpool.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/peers_0.2.1_1567649210577_0.5735508347212903"},"_hasShrinkwrap":false}},"time":{"created":"2019-08-04T17:06:29.737Z","0.1.2":"2019-08-04T17:06:30.147Z","modified":"2022-04-04T19:39:07.167Z","0.1.3":"2019-08-10T16:40:15.185Z","0.2.1":"2019-09-05T02:06:50.793Z"},"maintainers":[{"name":"blockpool-io","email":"support@blockpool.io"}],"description":"A simple TypeScript peer discovery client for the Blockpool Blockchain.","homepage":"https://github.com/blockpool-io/typescript-peers","repository":{"type":"git","url":"git+ssh://git@github.com/blockpool-io/typescript-peers.git"},"author":{"name":"Brian Faust","email":"hello@basecode.sh"},"bugs":{"url":"https://github.com/blockpool-io/typescript-peers/issues"},"license":"MIT","readme":"# @blockpool-io/peers\n\n<p align=\"center\">\n    <img src=\"https://raw.githubusercontent.com/blockpool-io/peers/master/banner.png\" />\n</p>\n\n[![Latest Version](https://badgen.now.sh/npm/v/@blockpool-io/peers)](https://www.npmjs.com/package/@blockpool-io/peers)\n[![Node Engine](https://badgen.now.sh/npm/node/@blockpool-io/peers)](https://www.npmjs.com/package/@blockpool-io/peers)\n[![Build Status](https://badgen.now.sh/circleci/github/blockpool-io/typescript-peers)](https://circleci.com/gh/blockpool-io/typescript-peers)\n[![Codecov](https://badgen.now.sh/codecov/c/github/blockpool-io/typescript-peers)](https://codecov.io/gh/blockpool-io/typescript-peers)\n[![License: MIT](https://badgen.now.sh/badge/license/MIT/green)](https://opensource.org/licenses/MIT)\n\n> Lead Maintainer: [Brian Faust](https://github.com/faustbrian)\n\n## Installation\n\n```bash\nyarn add @blockpool-io/peers\n```\n\n## Usage\n\n### Peers via GitHub\n\n```ts\nimport { PeerDiscovery } from \"@blockpool-io/peers\";\n\nawait PeerDiscovery.new(\"devnet\")\n\t.withVersion(\">=2.4.0-next.0\")\n\t.withLatency(300)\n\t.sortBy(\"latency\")\n\t.findPeersWithPlugin(\"core-api\");\n```\n\n### Peers via Relay\n\n```ts\nimport { PeerDiscovery } from \"@blockpool-io/peers\";\n\nawait PeerDiscovery.new(\"http://api.testnet.blockpool.io:9031/api/v2/peers\")\n\t.withVersion(\">=2.4.0-next.0\")\n\t.withLatency(300)\n\t.sortBy(\"latency\")\n\t.findPeersWithPlugin(\"core-api\");\n```\n\n## Testing\n\n```bash\nyarn test\n```\n\n## Security\n\nIf you discover a security vulnerability within this package, please send an e-mail to support@blockpool.io. All security vulnerabilities will be promptly addressed.\n\n## Credits\n\nThis project exists thanks to all the people who [contribute](../../contributors).\n\n## License\n\n[MIT](LICENSE) © [Blockpool](https://blockpool.io)\n[MIT](LICENSE) © [ARK Ecosystem](https://ark.io)\n","readmeFilename":"README.md"}