{"name":"bcurl","version":"0.0.2","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":{"browserify":"browserify -s bcurl lib/bcurl.js | uglifyjs -c > bcurl.js","clean":"rm -f bcurl.js","lint":"eslint lib/ test/ || exit 0","test":"mocha --reporter spec test/*-test.js","webpack":"webpack --config webpack.config.js"},"dependencies":{"brq":"~0.0.2","bsock":"~0.0.2"},"devDependencies":{"babelify":"^8.0.0","babel-core":"^6.26.0","babel-loader":"^7.1.4","babel-preset-env":"^1.6.1","browserify":"^16.1.1","eslint":"^4.18.2","mocha":"^5.0.4","uglifyjs-webpack-plugin":"^1.2.3","uglify-es":"^3.3.9","webpack":"^4.1.1"},"engines":{"node":">=7.6.0"},"browser":{},"browserify":{"transform":["babelify"]},"gitHead":"4a2c0caaa2aabc2b8716f48a1c03121874deae58","_id":"bcurl@0.0.2","_npmVersion":"5.7.1","_nodeVersion":"9.8.0","_npmUser":{"name":"chjj","email":"chjjeffrey@gmail.com"},"dist":{"integrity":"sha512-3A+ofRqkgMWQLrs2AI0C5LZT3ktsoUSWG+npnsJRoeoyRxjboiUGUsUi9uKpB8u1zz5z495U8IWG3cB8ORcOIw==","shasum":"5355bbb9021f1f81ccec9548756306cb57a0de52","tarball":"http://registry-npm.ywwl.com/bcurl/download/bcurl-0.0.2.tgz","fileCount":9,"unpackedSize":16127,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6ke/YcClVOL+kdXCG1S3L1GBntMtcl/7gCxnBOV1BdAIgEDrxM6+506NT/1iCNA6oXF8cdKXodCGcRusSEYMFC2A="}],"size":5256,"noattachment":false,"key":"/bcurl/-/bcurl-0.0.2.tgz"},"maintainers":[{"name":"chjj","email":"chjjeffrey@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bcurl_0.0.2_1520895273628_0.8203102030705893"},"_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":1520895273689,"_cnpm_publish_time":1520895273689,"dist-tags":{"latest":"0.2.1"}}