{"_id":"noice-json-rpc","_rev":"14-f39941b637a121e4414ece92db0d4c59","name":"noice-json-rpc","description":"Noice Json RPC exposes a clean ES6 Proxy and Promise based interface for JSON-RPC2 Clients and Servers","dist-tags":{"latest":"1.2.0"},"versions":{"0.0.1":{"name":"noice-json-rpc","version":"0.0.1","description":"Auto generate crdi.d.ts interface from protocol.json files used by Chrome Remote Debugging Protocol","main":"lib/noice-json-rpc.js","typings":"lib/noice-json-rpc.d.ts","files":["lib"],"scripts":{"build":"tsc -p src","clean":"rm -rf lib"},"repository":{"type":"git","url":"git+ssh://git@github.com/nojvek/noice-json-rpc.git"},"keywords":["noice","json","rpc","rpc2","es6","proxy","promises","api","server","client"],"author":{"name":"nojvek"},"license":"MIT","bugs":{"url":"https://github.com/nojvek/noice-json-rpc/issues"},"homepage":"https://github.com/nojvek/noice-json-rpc#readme","devDependencies":{"chrome-remote-debug-protocol":"^1.0.1","ws":"^1.1.1"},"gitHead":"0291d3be60a7070040f3ef81c0ff95ed5498c8ca","_id":"noice-json-rpc@0.0.1","_shasum":"49c2964449f9e7153d58d04967e3481bde141082","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"nojvek","email":"hello@nojvek.com"},"dist":{"shasum":"49c2964449f9e7153d58d04967e3481bde141082","tarball":"https://registry.npmjs.org/noice-json-rpc/-/noice-json-rpc-0.0.1.tgz","integrity":"sha512-WUvi0uF+bel7quol88T2wUTzVaHDNdo+j4z+WXFJDaV+XJ03nRK8r18Cn+cIh3BYh8ycNhUVgdtmWOCo9R25gA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCehuSe1kLzIsAfcDSrSgOV0kazVDvQ+uvsSIVTSYkuGgIgZ9gTVjQtw42QvDvD4c6gmbmMCqIDWjUnN1+xF6g2xKo="}]},"maintainers":[{"name":"nojvek","email":"hello@nojvek.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/noice-json-rpc-0.0.1.tgz_1469115448487_0.49474890413694084"},"directories":{}},"0.1.0":{"name":"noice-json-rpc","version":"0.1.0","description":"Noice Json RPC exposes and clean ES6 Proxy and Promise based API for JSON RPC2 Clients and Servers","main":"lib/noice-json-rpc.js","typings":"lib/noice-json-rpc.d.ts","files":["lib"],"scripts":{"build":"tsc -p src","clean":"rm -rf lib && rm -rf test","pretest":"tsc -p tests","test":"istanbul cover node_modules/.bin/_mocha -- -R spec out/*.test.js","coveralls":"cat coverage/lcov.info | node_modules/.bin/coveralls"},"repository":{"type":"git","url":"git+ssh://git@github.com/nojvek/noice-json-rpc.git"},"keywords":["noice","json","rpc","rpc2","es6","proxy","promises","api","server","client"],"author":{"name":"nojvek"},"license":"MIT","bugs":{"url":"https://github.com/nojvek/noice-json-rpc/issues"},"homepage":"https://github.com/nojvek/noice-json-rpc#readme","devDependencies":{"chai":"^3.5.0","chrome-remote-debug-protocol":"^1.0.1","coveralls":"^2.11.11","mocha":"^2.5.3","sinon":"^1.17.4","ws":"^1.1.1"},"gitHead":"8af0188cda233bc5b02cb7507d85da6a206b1bbe","_id":"noice-json-rpc@0.1.0","_shasum":"fd853bf3cfba9cee4647d629b5f6804a37bd1117","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"nojvek","email":"hello@nojvek.com"},"dist":{"shasum":"fd853bf3cfba9cee4647d629b5f6804a37bd1117","tarball":"https://registry.npmjs.org/noice-json-rpc/-/noice-json-rpc-0.1.0.tgz","integrity":"sha512-7Xn71EwznrVKPk5V6m4dGN/Jolf7FLcy0id4xVE/7DoVo0xbqFTOeIyYUd72J3cpWnrwj0hCVdYpiDp22HKHEg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCGH+r7VE8qKVivz3ApMIq67fuBl8nccz81ojL9ZdHHnwIhAIswCbVh0KEkPDC7FH0UUAbeiRJKFu3lfs0dwkDlpnCA"}]},"maintainers":[{"name":"nojvek","email":"hello@nojvek.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/noice-json-rpc-0.1.0.tgz_1469202547294_0.20299774780869484"},"directories":{}},"0.2.0":{"name":"noice-json-rpc","version":"0.2.0","description":"Noice Json RPC exposes a clean ES6 Proxy and Promise based interface for JSON-RPC2 Clients and Servers","main":"lib/noice-json-rpc.js","typings":"lib/noice-json-rpc.d.ts","files":["lib"],"scripts":{"build":"tsc -p src","clean":"rm -rf lib && rm -rf test","pretest":"tsc -p tests","test":"istanbul cover node_modules/.bin/_mocha -- -R spec out/*.test.js","coveralls":"cat coverage/lcov.info | node_modules/.bin/coveralls"},"repository":{"type":"git","url":"git+ssh://git@github.com/nojvek/noice-json-rpc.git"},"keywords":["noice","json","rpc","rpc2","es6","proxy","promises","api","server","client"],"author":{"name":"nojvek"},"license":"MIT","bugs":{"url":"https://github.com/nojvek/noice-json-rpc/issues"},"homepage":"https://github.com/nojvek/noice-json-rpc#readme","devDependencies":{"chai":"^3.5.0","chrome-remote-debug-protocol":"^1.0.1","coveralls":"^2.11.11","mocha":"^2.5.3","sinon":"^1.17.4","ws":"^1.1.1"},"gitHead":"24e22d9ad55789a5567486bab8bcf232b22cf86d","_id":"noice-json-rpc@0.2.0","_shasum":"b449a72042b2de5a095bca51e691804a000e6427","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"nojvek","email":"hello@nojvek.com"},"dist":{"shasum":"b449a72042b2de5a095bca51e691804a000e6427","tarball":"https://registry.npmjs.org/noice-json-rpc/-/noice-json-rpc-0.2.0.tgz","integrity":"sha512-Z+Da95l2j1f9q4x54N6TquF09Aj/4V5+81jZQStbxiEMXeGJntCRiyZr5yhxf26/07IyPgyX2cqcOHaZ1dTPhg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA/hlTTpY++itNg4cfPCZ0pt51vog+rWg79uX+YHN4lIAiBmKW54LQ4sY6PJblANeUqjlCXCKqBcyvGE2i4F4M1ulw=="}]},"maintainers":[{"name":"nojvek","email":"hello@nojvek.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/noice-json-rpc-0.2.0.tgz_1469203456305_0.0795353795401752"},"directories":{}},"1.0.0":{"name":"noice-json-rpc","version":"1.0.0","description":"Noice Json RPC exposes a clean ES6 Proxy and Promise based interface for JSON-RPC2 Clients and Servers","main":"lib/noice-json-rpc.js","typings":"lib/noice-json-rpc.d.ts","files":["lib"],"scripts":{"build":"tsc -p src","clean":"rm -rf lib && rm -rf test","pretest":"tsc -p tests","test":"istanbul cover node_modules/.bin/_mocha -- -R spec out/*.test.js","mocha-debug":"mocha --debug-brk -R spec out/*.test.js","coveralls":"cat coverage/lcov.info | node_modules/.bin/coveralls","example":"node out/example.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/nojvek/noice-json-rpc.git"},"keywords":["noice","json","rpc","rpc2","es6","proxy","promises","api","server","client"],"author":{"name":"nojvek"},"license":"MIT","bugs":{"url":"https://github.com/nojvek/noice-json-rpc/issues"},"homepage":"https://github.com/nojvek/noice-json-rpc#readme","devDependencies":{"chai":"^3.5.0","chrome-remote-debug-protocol":"^1.0.1","coveralls":"^2.11.11","mocha":"^2.5.3","sinon":"^1.17.4","ws":"^1.1.1"},"gitHead":"616a2d43fb819ab464ff11fd385b305a48c8c67c","_id":"noice-json-rpc@1.0.0","_shasum":"1cf54e127bf111436e7bc86ffe464af81b74a7ad","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"nojvek","email":"hello@nojvek.com"},"dist":{"shasum":"1cf54e127bf111436e7bc86ffe464af81b74a7ad","tarball":"https://registry.npmjs.org/noice-json-rpc/-/noice-json-rpc-1.0.0.tgz","integrity":"sha512-UqLzmxpH9zuUrRuhzWwYey1ohgte802JG4OeoaJXt0u/6LWfzCCQrNElsU8S+Kk/TIxbO7/DVVqYJ67A2ft30A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDFwrHxdUgiEEs+XhT0jSOPSsdfSKOsFMU/MduiJrB+qAIgfkc8O6cWVSRFJeuI8LSvfXqofezDjcJ4pu4iHtcYxaE="}]},"maintainers":[{"name":"nojvek","email":"hello@nojvek.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/noice-json-rpc-1.0.0.tgz_1469320299945_0.9140264643356204"},"directories":{}},"1.0.1":{"name":"noice-json-rpc","version":"1.0.1","description":"Noice Json RPC exposes a clean ES6 Proxy and Promise based interface for JSON-RPC2 Clients and Servers","main":"lib/noice-json-rpc.js","typings":"lib/noice-json-rpc.d.ts","files":["lib"],"scripts":{"build":"tsc -p src","clean":"rm -rf lib && rm -rf test","pretest":"tsc -p tests","test":"istanbul cover node_modules/.bin/_mocha -- -R spec out/*.test.js","tslint":"tslint -c tslint.json src/*.ts tests/*.ts","mocha-debug":"mocha --debug-brk -R spec out/*.test.js","coveralls":"cat coverage/lcov.info | node_modules/.bin/coveralls","example":"node out/example.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/nojvek/noice-json-rpc.git"},"keywords":["noice","json","rpc","rpc2","es6","proxy","promises","api","server","client"],"author":{"name":"nojvek"},"license":"MIT","bugs":{"url":"https://github.com/nojvek/noice-json-rpc/issues"},"homepage":"https://github.com/nojvek/noice-json-rpc#readme","devDependencies":{"@types/chai":"^3.4.34","@types/mocha":"^2.2.32","@types/node":"^6.0.43","@types/sinon":"^1.16.31","@types/ws":"0.0.34","chai":"^3.5.0","chrome-remote-debug-protocol":"^1.0.1","coveralls":"^2.11.11","istanbul":"^0.4.5","mocha":"^2.5.3","sinon":"^1.17.4","tslint":"^3.15.1","typescript":"^2.0.3","ws":"^1.1.1"},"gitHead":"6b3d7ab1348f5a6498d5acf8e1662c2063f0f0b9","_id":"noice-json-rpc@1.0.1","_shasum":"5e7289a60a1c20880489cb15101552bac392266e","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.5.0","_npmUser":{"name":"nojvek","email":"hello@nojvek.com"},"dist":{"shasum":"5e7289a60a1c20880489cb15101552bac392266e","tarball":"https://registry.npmjs.org/noice-json-rpc/-/noice-json-rpc-1.0.1.tgz","integrity":"sha512-oX1wwVpQV8hdCrGSdqv8Ni7qzQskjduQnPd34/O+50SqhazRmh6u264TndESsMk5feuZ9rNsHZZGiVCupT522w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDsSHPJYg0lHOebH0sT91YJaZBhz8oYcrooATEGQRGstgIgEo6bZIxFdTyJf3/N5CTSfv2UURxnqztd/N8htnl5yjc="}]},"maintainers":[{"name":"nojvek","email":"hello@nojvek.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/noice-json-rpc-1.0.1.tgz_1487787480722_0.7616547090001404"},"directories":{}},"1.0.2":{"name":"noice-json-rpc","version":"1.0.2","description":"Noice Json RPC exposes a clean ES6 Proxy and Promise based interface for JSON-RPC2 Clients and Servers","main":"lib/noice-json-rpc.js","typings":"lib/noice-json-rpc.d.ts","files":["lib"],"scripts":{"build":"tsc -p src","clean":"rm -rf lib && rm -rf test","pretest":"tsc -p tests","test":"istanbul cover node_modules/.bin/_mocha -- -R spec out/*.test.js","tslint":"tslint -c tslint.json src/*.ts tests/*.ts","mocha-debug":"mocha --debug-brk -R spec out/*.test.js","coveralls":"cat coverage/lcov.info | node_modules/.bin/coveralls","example":"node out/example.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/nojvek/noice-json-rpc.git"},"keywords":["noice","json","rpc","rpc2","es6","proxy","promises","api","server","client"],"author":{"name":"nojvek"},"license":"MIT","bugs":{"url":"https://github.com/nojvek/noice-json-rpc/issues"},"homepage":"https://github.com/nojvek/noice-json-rpc#readme","devDependencies":{"@types/chai":"^3.4.34","@types/mocha":"^2.2.32","@types/node":"^6.0.43","@types/sinon":"^1.16.31","@types/ws":"0.0.34","chai":"^3.5.0","chrome-remote-debug-protocol":"^1.0.1","coveralls":"^2.11.11","istanbul":"^0.4.5","mocha":"^2.5.3","sinon":"^1.17.4","tslint":"^3.15.1","typescript":"^2.0.3","ws":"^1.1.1"},"gitHead":"56e7510bf82042b9e51e3d11c75edacb730cdd42","_id":"noice-json-rpc@1.0.2","_shasum":"34c62e8ff9063b79e7c31f59ba3d91f073f27353","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.5.0","_npmUser":{"name":"nojvek","email":"hello@nojvek.com"},"dist":{"shasum":"34c62e8ff9063b79e7c31f59ba3d91f073f27353","tarball":"https://registry.npmjs.org/noice-json-rpc/-/noice-json-rpc-1.0.2.tgz","integrity":"sha512-YMXqCPhHVFzRlwdsvnSYSWV6BN6LpoS6L5j4N41WKapvgZuUszbhuHrNev7cPViqLmdHhB4ByinTeAHMUZ+4CA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGvqtGr8xZHsD2zVNvmFxa3uXTzayl6r4H2l4a40J4H+AiB6XnQ9K0ZyGRopkmIRgjT0K/UqU5gVXmMBoOXeZRy95w=="}]},"maintainers":[{"name":"nojvek","email":"hello@nojvek.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/noice-json-rpc-1.0.2.tgz_1500683843155_0.006283297436311841"},"directories":{}},"1.1.0":{"name":"noice-json-rpc","version":"1.1.0","description":"Noice Json RPC exposes a clean ES6 Proxy and Promise based interface for JSON-RPC2 Clients and Servers","main":"lib/noice-json-rpc.js","typings":"lib/noice-json-rpc.d.ts","files":["lib"],"scripts":{"build":"tsc -p src","clean":"rm -rf lib && rm -rf test","pretest":"tsc -p tests","test":"istanbul cover node_modules/.bin/_mocha -- -R spec out/*.test.js","tslint":"tslint -c tslint.json src/*.ts tests/*.ts","mocha-debug":"mocha --debug-brk -R spec out/*.test.js","coveralls":"cat coverage/lcov.info | node_modules/.bin/coveralls","example":"node out/example.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/nojvek/noice-json-rpc.git"},"keywords":["noice","json","rpc","rpc2","es6","proxy","promises","api","server","client"],"author":{"name":"nojvek"},"license":"MIT","bugs":{"url":"https://github.com/nojvek/noice-json-rpc/issues"},"homepage":"https://github.com/nojvek/noice-json-rpc#readme","devDependencies":{"@types/chai":"^3.4.34","@types/mocha":"^2.2.32","@types/node":"^6.0.43","@types/sinon":"^1.16.31","@types/ws":"0.0.34","chai":"^3.5.0","chrome-remote-debug-protocol":"^1.0.1","coveralls":"^2.11.11","istanbul":"^0.4.5","mocha":"^2.5.3","sinon":"^1.17.4","tslint":"^3.15.1","typescript":"^2.0.3","ws":"^1.1.1"},"gitHead":"9db594888d925906842fa287361111f3ee1bc572","_id":"noice-json-rpc@1.1.0","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"nojvek","email":"hello@nojvek.com"},"dist":{"integrity":"sha512-K1ws7I9Wni2eBbt5530oNGJvkfSEnRtdhIWh+3Pcy3GWcYdJxE6k3sHFm39jNVrBm3erLwbhmVyN9wEcG8dI9w==","shasum":"2852bd097bd635f47dc969db8a5882b8b257c24e","tarball":"https://registry.npmjs.org/noice-json-rpc/-/noice-json-rpc-1.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4RNO1GCjxZJlApY0EiBLya/F1gSQujKodWT70rGvLdQIgM5UEjQAxQKTRHVOX6hw8xXq71BwpsK2TKMS+4DmRXM4="}]},"maintainers":[{"name":"nojvek","email":"hello@nojvek.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/noice-json-rpc-1.1.0.tgz_1509480593310_0.3411633912473917"},"directories":{}},"1.1.1":{"name":"noice-json-rpc","version":"1.1.1","description":"Noice Json RPC exposes a clean ES6 Proxy and Promise based interface for JSON-RPC2 Clients and Servers","main":"lib/noice-json-rpc.js","typings":"lib/noice-json-rpc.d.ts","files":["lib"],"scripts":{"build":"tsc -p src","clean":"rm -rf lib && rm -rf test","pretest":"tsc -p tests","test":"istanbul cover node_modules/.bin/_mocha -- -R spec out/*.test.js","tslint":"tslint -c tslint.json src/*.ts tests/*.ts","mocha-debug":"mocha --debug-brk -R spec out/*.test.js","coveralls":"cat coverage/lcov.info | node_modules/.bin/coveralls","example":"node out/example.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/nojvek/noice-json-rpc.git"},"keywords":["noice","json","rpc","rpc2","es6","proxy","promises","api","server","client"],"author":{"name":"nojvek"},"license":"MIT","bugs":{"url":"https://github.com/nojvek/noice-json-rpc/issues"},"homepage":"https://github.com/nojvek/noice-json-rpc#readme","devDependencies":{"@types/chai":"^3.4.34","@types/mocha":"^2.2.32","@types/node":"^6.0.43","@types/sinon":"^1.16.31","@types/ws":"^3.2.1","chai":"^3.5.0","chrome-remote-debug-protocol":"^1.0.1","coveralls":"^2.11.11","istanbul":"^0.4.5","mocha":"^2.5.3","sinon":"^1.17.4","tslint":"^3.15.1","typescript":"^2.0.3","ws":"^3.3.2"},"gitHead":"500f26f4cb7b1163456198aec0bcc5b12cfaff91","_id":"noice-json-rpc@1.1.1","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"nojvek","email":"hello@nojvek.com"},"dist":{"integrity":"sha512-wQvyi5JtlNt/NkUjVsEoX8jjygVFa6iIEo/u9OGKMO83f89pDb9vyIFEz+Mqu5QbPk75kWoFliqrxj240h0cWQ==","shasum":"04914b66e530ac937f39a982a8b5bfc6339fb947","tarball":"https://registry.npmjs.org/noice-json-rpc/-/noice-json-rpc-1.1.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBKGd+ocS31wutC9p9OnjYSt1MNzQikHGcIpcDY0dyS/AiEA66suRDR1z7dYIPLY2DPb/hT0XVJiSAaHwwhmD0NIjuM="}]},"maintainers":[{"name":"nojvek","email":"hello@nojvek.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/noice-json-rpc-1.1.1.tgz_1512662820256_0.6062746159732342"},"directories":{}},"1.1.2":{"name":"noice-json-rpc","version":"1.1.2","description":"Noice Json RPC exposes a clean ES6 Proxy and Promise based interface for JSON-RPC2 Clients and Servers","main":"lib/noice-json-rpc.js","typings":"lib/noice-json-rpc.d.ts","files":["lib"],"scripts":{"build":"tsc -p src","clean":"rm -rf lib && rm -rf test","pretest":"tsc -p tests","test":"istanbul cover node_modules/.bin/_mocha -- -R spec out/*.test.js","tslint":"tslint -c tslint.json src/*.ts tests/*.ts","mocha-debug":"mocha --debug-brk -R spec out/*.test.js","coveralls":"cat coverage/lcov.info | node_modules/.bin/coveralls","example":"node out/example.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/nojvek/noice-json-rpc.git"},"keywords":["noice","json","rpc","rpc2","es6","proxy","promises","api","server","client"],"author":{"name":"nojvek"},"license":"MIT","bugs":{"url":"https://github.com/nojvek/noice-json-rpc/issues"},"homepage":"https://github.com/nojvek/noice-json-rpc#readme","devDependencies":{"@types/chai":"^3.4.34","@types/mocha":"^2.2.32","@types/node":"^6.0.43","@types/sinon":"^1.16.31","@types/ws":"^3.2.1","chai":"^3.5.0","chrome-remote-debug-protocol":"^1.0.1","coveralls":"^2.11.11","istanbul":"^0.4.5","mocha":"^2.5.3","sinon":"^1.17.4","tslint":"^3.15.1","typescript":"^2.0.3","ws":"^3.3.2"},"gitHead":"94f45ca900d44961eff2aa06d1e45174c518eb71","_id":"noice-json-rpc@1.1.2","_npmVersion":"5.5.1","_nodeVersion":"8.9.2","_npmUser":{"name":"nojvek","email":"nojvek@gmail.com"},"dist":{"integrity":"sha512-eancq6Sz7zo1Ra2dB7f4IANIFO7wVxJQZHq5ORAUO0XNqPRQCe4YKalTmp7NBltoOmFChsFD29AWWiqZB+Iyfw==","shasum":"8d6fd5398588270d9351124fb398efc2fbf44de4","tarball":"https://registry.npmjs.org/noice-json-rpc/-/noice-json-rpc-1.1.2.tgz","fileCount":7,"unpackedSize":28183,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA4KJXOvJK5CpI5IbCib4GUjYdF9TZ6AG5lS/NxaT+0AAiEA11VHqglRBhPZmPthItetfvYUVaXtAHEw+OnmQB9wQRM="}]},"maintainers":[{"name":"nojvek","email":"hello@nojvek.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/noice-json-rpc_1.1.2_1522829745783_0.5500990632108578"},"_hasShrinkwrap":false},"1.2.0":{"name":"noice-json-rpc","version":"1.2.0","description":"Noice Json RPC exposes a clean ES6 Proxy and Promise based interface for JSON-RPC2 Clients and Servers","main":"lib/noice-json-rpc.js","typings":"lib/noice-json-rpc.d.ts","files":["lib"],"scripts":{"build":"tsc -p src","clean":"rm -rf lib && rm -rf test","pretest":"tsc -p tests","test":"istanbul cover node_modules/.bin/_mocha -- -R spec out/*.test.js","tslint":"tslint -c tslint.json src/*.ts tests/*.ts","mocha-debug":"mocha --debug-brk -R spec out/*.test.js","coveralls":"cat coverage/lcov.info | node_modules/.bin/coveralls","example":"node out/example.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/nojvek/noice-json-rpc.git"},"keywords":["noice","json","rpc","rpc2","es6","proxy","promises","api","server","client"],"author":{"name":"nojvek"},"license":"MIT","bugs":{"url":"https://github.com/nojvek/noice-json-rpc/issues"},"homepage":"https://github.com/nojvek/noice-json-rpc#readme","devDependencies":{"@types/chai":"^3.4.34","@types/mocha":"^2.2.32","@types/node":"^6.0.43","@types/sinon":"^1.16.31","@types/ws":"^3.2.1","chai":"^3.5.0","chrome-remote-debug-protocol":"^1.0.1","devtools-protocol":"0.0.555290","coveralls":"^2.11.11","istanbul":"^0.4.5","mocha":"^2.5.3","sinon":"^1.17.4","tslint":"^3.15.1","typescript":"^2.0.3","ws":"^3.3.2"},"gitHead":"65af3869d7782ae9f01bde2fb6895db815e22eb0","_id":"noice-json-rpc@1.2.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.2","_npmUser":{"name":"nojvek","email":"nojvek@gmail.com"},"dist":{"integrity":"sha512-Wm+otW+drKzdqlSPoSwj34tUEq/Xj1gX6Cr2avrykvTW4IY7d3ngLmP+PErALzS0s9nYRokXvYDM54sbFvLlDA==","shasum":"bbbb789fd6ebe1aa12969211d6910bf8d0e6646b","tarball":"https://registry.npmjs.org/noice-json-rpc/-/noice-json-rpc-1.2.0.tgz","fileCount":7,"unpackedSize":28471,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa6ilyCRA9TVsSAnZWagAAChYP/R3m3i60nacwzemFN3H1\n88qPvJy4EY3vDhDW8vTytwGp9SMksJfJ47Bq20z4WyCtUfHirq8KdXfJhAYt\nc8poSttGpQLNbpoU91lc5Olc7QKjaib7WK5/SVJk4L4jJ5gMGJ45tFI6jw4k\nKnS44g59dcCYYl8rmvp99jNzWwiEKxmgNQ5kAcJofwW+Q/ogFd4XpuzHuoHL\ncRLpf6IubHH9NdKuYCMDQ7e4NgdP183yvqGjVqPmIjk/miVbfj8tqTfMdnqv\nKhM5yZt0xLJXe6MubFFLsZk388F2+Mw0ZsdrX4dsU8R7a9uublwBDc7Ul9BX\n8ZJQVDOrGMYu3M8P1L5lKYuWpwcvu0IdrLGZVVz33uk5hXkubhXoECN4z/9u\nx/eIbiBL1s2xSSwW1Q63ut3rQSuPKVCY3SGdA5uvZ2GV5g2NN9aw6G1DXGSk\nkMx7g0vWEw0Wl12jJuasyRl3bFzpaDxciu5KCRd72QuEhRG07yXAorwTytWd\nUcwJ/qhD2r2GIa+JZ48MZY93fw82ry3JXfQfCIfp3s/tFu9nmdMK2JYPoIKM\nJmMWVcBHCtb/+J4PbyaTzFPgtwrQ/8CUYvflt5JOAO/NpzFysnzpx3toWxMc\nj27NxZ3JN8gDUuzJXr09QafsgZvPTL0PcE6swZI3q3bXHH8MhoJ5CrGfh3ov\n/gBz\r\n=Gne9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGOw+2cnXT6QoMCONuiwqgKr13d+fD7y/6f6U2f0E5krAiBtiZClXlw72d2SR7XlnYr+R1/PNCggo3ZYVeowtFDmTA=="}]},"maintainers":[{"name":"nojvek","email":"hello@nojvek.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/noice-json-rpc_1.2.0_1525295474122_0.11546494435370858"},"_hasShrinkwrap":false}},"readme":"# Noice Json Rpc\n[![Build Status](https://img.shields.io/travis/nojvek/noice-json-rpc/master.svg)](https://travis-ci.org/nojvek/noice-json-rpc)\n[![Coverage Status](https://img.shields.io/coveralls/nojvek/noice-json-rpc/master.svg)](https://coveralls.io/github/nojvek/noice-json-rpc?branch=master)\n[![issues open](https://img.shields.io/github/issues/nojvek/noice-json-rpc.svg)](https://github.com/nojvek/noice-json-rpc/issues)\n[![npm total downloads](https://img.shields.io/npm/dt/noice-json-rpc.svg?maxAge=2592000)](https://www.npmjs.com/package/noice-json-rpc)\n[![licence](https://img.shields.io/npm/l/noice-json-rpc.svg?maxAge=2592000)](https://github.com/nojvek/noice-json-rpc)\n[![npm version](https://img.shields.io/npm/v/noice-json-rpc.svg)](https://www.npmjs.com/package/noice-json-rpc)\n\nClient and Server helpers to implement a clean function based Api for Json Rpc.\n\nNoice Json Rpc takes in a websocket like object. It calls `send(msg:str)` function and expects messages to come from `on('message', handler)`. It works out of the box with WebSockets but it can also work with stdin/stdout, worker threads, iframes or any other mechanism in which strings can be sent or received.\n\nIts only dependency is `events.EventEmitter`.\n\nUsing ES6 proxies it exposes a clean client-server api. Since its written in TypeScript, the api object can be cast to work off an interface specific to the domain. e.g [ChromeDevTools/devtools-protocol](https://github.com/ChromeDevTools/devtools-protocol/blob/master/types/protocol.d.ts)\n\n## [Example](tests/example.ts)\n\n```js\nimport * as WebSocket from 'ws'\nimport DevToolsProtocol from 'devtools-protocol'\nimport * as rpc from '../lib/noice-json-rpc'\n\nasync function setupClient() {\n    try {\n        const rpcClient = new rpc.Client(new WebSocket('ws://localhost:8080'), {logConsole: true})\n        const api: DevToolsProtocol.ProtocolApi = rpcClient.api()\n\n        await Promise.all([\n            api.Runtime.enable(),\n            api.Profiler.enable(),\n        ])\n\n        await api.Runtime.run()\n        await api.Profiler.start()\n        await new Promise(resolve => api.Runtime.on('executionContextDestroyed', resolve)); // Wait for event\n        const result = await api.Profiler.stop()\n\n        console.log('Result', result)\n\n    } catch (e) {\n        console.error(e)\n    }\n}\n\nsetupClient()\n```\n\nOutput\n\n```\nClient > {\"id\":1,\"method\":\"Runtime.enable\"}\nClient > {\"id\":3,\"method\":\"Profiler.enable\"}\nClient > {\"id\":4,\"method\":\"Runtime.run\"}\nClient < {\"id\":1,\"result\":{}}\nClient < {\"id\":2,\"result\":{}}\nClient < {\"id\":3,\"result\":{}}\nClient < {\"id\":4,\"result\":{}}\nClient > {\"id\":5,\"method\":\"Profiler.start\"}\nClient < {\"id\":5,\"result\":{}}\nClient < {\"method\":\"Runtime.executionContextDestroyed\"}\nClient > {\"id\":6,\"method\":\"Profiler.stop\"}\nClient < {\"id\":6,\"result\":{\"data\":\"noice!\"}}\n```\n","maintainers":[{"name":"nojvek","email":"hello@nojvek.com"}],"time":{"modified":"2022-06-22T04:33:36.079Z","created":"2016-07-21T15:37:31.845Z","0.0.1":"2016-07-21T15:37:31.845Z","0.1.0":"2016-07-22T15:49:10.257Z","0.2.0":"2016-07-22T16:04:19.332Z","1.0.0":"2016-07-24T00:31:43.097Z","1.0.1":"2017-02-22T18:18:00.968Z","1.0.2":"2017-07-22T00:37:23.221Z","1.1.0":"2017-10-31T20:09:53.591Z","1.1.1":"2017-12-07T16:07:00.940Z","1.1.2":"2018-04-04T08:15:45.856Z","1.2.0":"2018-05-02T21:11:14.189Z"},"homepage":"https://github.com/nojvek/noice-json-rpc#readme","keywords":["noice","json","rpc","rpc2","es6","proxy","promises","api","server","client"],"repository":{"type":"git","url":"git+ssh://git@github.com/nojvek/noice-json-rpc.git"},"author":{"name":"nojvek"},"bugs":{"url":"https://github.com/nojvek/noice-json-rpc/issues"},"license":"MIT","readmeFilename":"README.md","users":{"suissa":true}}