{"bugs":{"url":"https://github.com/ionic-team/ionic-cli/issues"},"dist":{"shasum":"f975b6637ff199a08424df13355a9128a35bce17","tarball":"https://registry.npmjs.org/@ionic/discover/-/discover-1.1.0-testing.abd665ba.tgz","fileCount":10,"integrity":"sha512-xdpva+MdX2kgZkEh8YOb5Nym1PxtF+JfqRT67S99RFeg+l2ktzZnACuxAQ6GTdTCyOduFoie0TsNsHDGuE18hw==","signatures":[{"sig":"MEUCIBgzlNDx2lVDDL+Hu8UEfrk/u0CFqlNurGUKul2WD3rDAiEA8uj718i4YdxUtSTrk5R++84quAxig7Iq4RkRbUY4vk8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15036,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrVhwCRA9TVsSAnZWagAA4nkP/A0JCWgV8tLs8jiXredF\nZVpLQrbkuHZa/hAFx7wPYHiqFIH9jeoMLlFb/JM0Pj8XKVE8vcqoqo0ZCOOi\nOD3ALhFJGADyn6j4nbnrCpZWzz3KKf6CLGG9h61IGaM1S245AfJSiX4i2r0V\n6IRkh5+x3v8jy9RdzIf/HKjoUD2W6StZjIWJUIeF4a92V6bdDpRnLVaKQcCs\nNd9Q0yF67Iav5RdFKGUfpG6mjI6s/bjzfjx61xwe+FKr6yXcrgF8fwjONEr5\nb38j1KupcdoxAajrvUiayodCTV0x88pWoAWw1AKuHNqRIFu9I7wtF4P1cgvY\n1xFk8V7XvtuGpR5MK77Dm0vJc9MmEwfWb07VdQa+o7K78OKsMGLiWiBP2xdr\n2g/mayzGXmryCNwMpEKHm18sgdjBYVkq56duBWDOqhHiLgOVMAj16HmaMd6t\nchjx4z3Sxm3BL662KRQPsTVmFqcLpg9kE+BjXd6j/gPJii3neD8Q2r+Uqm96\nOOetctbZ9YGMPgL/A71LeHDlyEKKcf6CaVM0yyVWCByC6l7zKp4bpCCiijJI\n5/hgSm1CprODPV7gC7+SEkr27m9dWTX+l1LQPl5KWKLsoL8kbcBn1L4Va7od\n4qgO+ncxg+HEMMTtKbryVk3u+aCG/2AnVG9/b3yzVS4AxQzUpRKlnqDzv02i\npLue\r\n=uxiS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","name":"@ionic/discover","types":"dist/index.d.ts","author":{"url":"https://ionic.io","name":"Ionic Team","email":"hi@ionic.io"},"readme":"# Ionic Discover\n\nSimple UDP based protocol for service discovery implemented in pure JS. It is\nnot mDNS or bonjour, but it tries to accomplish the same thing.\n\n## Spec\n\nIt uses a JSON based textual format:\n\n```ts\nconst message = {\n  t: now,\n  id: 'unique',\n  name: this.name,\n  host: os.hostname(),\n  ip: iface.address,\n  port: number1,\n  commPort: number2\n};\n\nreturn 'ION_DP' + JSON.stringify(message);\n```\n\n| key        | description\n|------------|-------------\n| `t`        | unix timestamp in second\n| `id`       | unique id for this session\n| `name`     | name of the announced service\n| `host`     | hostname of the machine announcing the service\n| `ip`       | ipv4 address\n| `port`     | tcp port of the announced service\n| `commPort` | optional websocket port of the communication server\n\n## Installation\n\n```\nnpm install @ionic/discover\n```\n\n## Usage\n\n```ts\nimport { Publisher } from '@ionic/discover';\n\nconst namespace = 'your-service';\nconst serviceName = 'Ionic thing!';\nconst tcpPort = 8100;\nconst service = new Publisher(namespace, serviceName, tcpPort);\n\nawait service.start();\n```\n","license":"MIT","scripts":{"lint":"tslint --config tslint.js --project tsconfig.json","test":"jest","build":"npm run clean && tsc","clean":"rimraf dist","watch":"tsc -w --preserveWatchOutput","precommit":"lint-staged","prepublishOnly":"npm run build"},"_npmUser":{"name":"dwieeb","email":"dwieeb@gmail.com"},"homepage":"https://ionicframework.com/","repository":{"url":"git+https://github.com/ionic-team/ionic-cli.git","type":"git"},"_npmVersion":"5.10.0","description":"Simple UDP based protocol for service discovery implemented in pure JS.","directories":{},"lint-staged":{"ignore":["**/__tests__/*.{ts,tsx}"],"linters":{"*.{ts,tsx}":"npm run lint"}},"maintainers":[{"name":"adamdbradley","email":"hi+adam@ionicframework.com"},{"name":"brandyscarney","email":"brandy@ionic.io"},{"name":"camwiegert","email":"cam@camwiegert.com"},{"name":"drifty","email":"max@drifty.com"},{"name":"dwieeb","email":"dwieeb@gmail.com"},{"name":"fuiste","email":"rudy@ionic.io"},{"name":"giodimiliaionic","email":"giovanni@ionic.io"},{"name":"ionicjs","email":"hi@ionicframework.com"},{"name":"jthoms1","email":"jthoms1@gmail.com"},{"name":"larsmikkelsen","email":"lars@ionic.io"},{"name":"manucorporat","email":"manu.mtza@gmail.com"},{"name":"maxlynch","email":"max@ionic.io"},{"name":"mhartington","email":"mikehartington@gmail.com"},{"name":"nhyatt","email":"nick@ionic.io"},{"name":"perrygovier","email":"perry@ionic.io"}],"_nodeVersion":"8.11.2","dependencies":{"ws":"^6.0.0","debug":"^4.0.0","tslib":"^1.9.0","netmask":"^1.0.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^23.0.1","rimraf":"^2.6.2","tslint":"^5.9.1","ts-jest":"~23.1.0","jest-cli":"^23.0.1","@types/ws":"^6.0.0","typescript":"~3.0.1","@types/node":"^6.0.101","lint-staged":"^7.2.0","@types/debug":"0.0.30","@types/netmask":"^1.0.30"},"_npmOperationalInternal":{"tmp":"tmp/discover_1.1.0-testing.abd665ba_1538087023645_0.8745706003114002","host":"s3://npm-registry-packages"},"_id":"@ionic/discover@1.1.0-testing.abd665ba","version":"1.1.0-testing.abd665ba"}