{"name":"bcurl","version":"0.2.1","description":"Web client bike-shed","keywords":["http","request","socket.io","websockets"],"license":"MIT","repository":{"type":"git","url":"git://github.com/bcoin-org/bcurl.git"},"homepage":"https://github.com/bcoin-org/bcurl","bugs":{"url":"https://github.com/bcoin-org/bcurl/issues"},"author":{"name":"Christopher Jeffrey","email":"chjjeffrey@gmail.com"},"main":"./lib/bcurl.js","scripts":{"lint":"eslint lib/ test/","lint-types":"tsc -p .","test":"bmocha --reporter spec test/*-test.js"},"dependencies":{"brq":"~0.1.10","bsert":"~0.0.12","bsock":"~0.1.10"},"devDependencies":{"bmocha":"^2.1.8","bts-type-deps":"^0.0.3"},"engines":{"node":">=8.0.0"},"gitHead":"73885e833750d724a247fb146a01c682540d0130","_id":"bcurl@0.2.1","_nodeVersion":"20.2.0","_npmVersion":"9.6.6","dist":{"integrity":"sha512-7L00pT9SQEDzRIsRn53Il5pYHkeFlIoH0SdNIAbXdqsUMnq4IteTRuSZwC2f/uUKiRE5oW40MBhW72mquO9sQg==","shasum":"718a39f80d961497b036823fb9b003bb93d26c9a","tarball":"http://registry-npm.ywwl.com/bcurl/download/bcurl-0.2.1.tgz","fileCount":6,"unpackedSize":14998,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICZ8o5ynavxAnpRaADI3IP4c60tsL5f2vhiDQcN2cdF/AiAeTvfi3kOK9Zn841XEBqNb1UTq4+Xo+XWD100gWpEvDQ=="}],"size":4458,"noattachment":false,"key":"/bcurl/-/bcurl-0.2.1.tgz"},"_npmUser":{"name":"nodweber","email":"nodar.chkuaselidze@gmail.com"},"directories":{},"maintainers":[{"name":"chjj","email":"chjjeffrey@gmail.com"},{"name":"nodweber","email":"nodar.chkuaselidze@gmail.com"},{"name":"pinheadmz","email":"pinheadmz@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bcurl_0.2.1_1693568623142_0.05240174856207358"},"_hasShrinkwrap":false,"readme":"# bcurl\n\nA minimal web client.\n\n## Usage\n\n``` js\nconst bcurl = require('bcurl');\n\nconst client = bcurl.client('http://localhost:8080');\nconst socket = await client.connect();\n\nsocket.send('hello', 'world');\n\n// Rest\nconst json = await client.get('/foobar');\nconsole.log(json);\n\n// JSON-RPC\nconst json = await client.execute('/', 'method', {});\n\n```\n\n## Contribution and License Agreement\n\nIf you contribute code to this project, you are implicitly allowing your code\nto be distributed under the MIT license. You are also implicitly verifying that\nall code is your original work. `</legalese>`\n\n## License\n\n- Copyright (c) 2017, Christopher Jeffrey (MIT License).\n\nSee LICENSE for more info.\n","publish_time":1693568623292,"_cnpm_publish_time":1693568623292,"dist-tags":{"latest":"0.2.1"}}