{"_id":"@alicloud/http-core-sdk","_rev":"13-e51a54ca3d6c49e5c69804d5d437e9c1","name":"@alicloud/http-core-sdk","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@alicloud/http-core-sdk","version":"1.0.0","description":"Node.js OpenAPI core SDK for HTTP","main":"lib/core.js","directories":{"lib":"lib","test":"test"},"scripts":{"lint":"eslint --fix lib","test":"mocha --reporter spec --timeout 3000 test/*.test.js","test-cov":"nyc -r=lcov -r=html -r=text -r=json mocha -t 3000 -R spec test/*.test.js","ci":"npm run test-cov && cat ./coverage/lcov.info | coveralls"},"repository":{"type":"git","url":"git+ssh://git@github.com/aliyun/nodejs-http-core-sdk.git"},"author":{"name":"Jackson Tian"},"license":"MIT","devDependencies":{"eslint":"^5.4.0","mocha":"^5.2.0","nyc":"^12.0.2"},"dependencies":{"httpx":"^2.1.3"},"gitHead":"5f70e9bc3c0e43fce3655467da512d244e36ac27","bugs":{"url":"https://github.com/aliyun/nodejs-http-core-sdk/issues"},"homepage":"https://github.com/aliyun/nodejs-http-core-sdk#readme","_id":"@alicloud/http-core-sdk@1.0.0","_npmVersion":"6.1.0","_nodeVersion":"10.5.0","_npmUser":{"name":"jacksontian","email":"shyvo1987@gmail.com"},"dist":{"integrity":"sha512-ZODX85jwCf63Fmzj+pYZq85z8+SZzNg/FL+oW1/L/sRM8oj70+1+pdG0RHynAxBXkjNYt4eLIPrBvIEeVfx+LQ==","shasum":"4e2cb835d390fc9e790a1f5a6ba5a856329225d6","tarball":"https://registry.npmjs.org/@alicloud/http-core-sdk/-/http-core-sdk-1.0.0.tgz","fileCount":3,"unpackedSize":6542,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcIHhiCRA9TVsSAnZWagAAo0YP/jGgAS0uJhNjyDl5bJYj\n3tQkw3W6utYke4Rt+WpfIZuKqpJpl0mm6ZOEgv4UXdEgnQLDaIu1fGxoftNB\ntlDkT0sLdpiwrvonjRzjkU9y9HpEuMbANgo8+EZ1mBBH5WNFGJMChbcb8eOs\nKosR5WcYSKoa9PBAoTn+5oIigNGa+JdbAjLcltV7OP1XyzlSFwlVSyXW612g\ncH/DIahwG3cxV2JGtrXU1RQFlhcl1dchcDfGuxow32/nBrNwZowYsL/s8KgZ\nw3PaMQihU8d/2umaqn640xIowlyfpUVn0rUOyJYt958u6YMuGW/neVr8kiqr\nVy0yPoXM2thN5GPrTjOWAxFkImrKshQY0m+lcD5PXnQIZo+jO/huvOO8rMA1\nqBtG41uVT2p1ZRjGmIE2qdWy8wTp/+SYAdKsSGgQbbJ1OrLXX2ZB4pw9mm1I\nMLBjrswyf7HXBVN2/7V64O6xMc7QYZCc4TcPPT7py4JJztnbYhQYQMqJaK0R\nGEU6WvynaALcUuSGL6aMv2Aa+ALgmtBd46QnWgGYmYcgBhwrFN7to701ZfLr\n7CLRimh9XDmwVadqkGvqqLr4pXT/8rOxSJsHZ+0HtLao//urXBvoeB9Tgl2+\nQxy1lGQTkoK+vTrjPPTcHa5yfkK8MuQ9iWdkBeDJMPHwN3W05Ynppw9PgmOy\ndjRz\r\n=sDTA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCdPkAkD1NwrY+pIA+9Lzuw8XdUXcQvRtSr2t8nW4LWFgIhALSTPpwhSxuJBZw9mMW8oLIemuaHe9HG+2t2vlJTr5IS"}]},"maintainers":[{"name":"cici503","email":"191984292@qq.com"},{"name":"tanhe123","email":"xiayule148@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"vangie","email":"duwan@live.com"},{"name":"aleelock","email":"aleelock@126.com"},{"name":"jacksontian","email":"shyvo1987@gmail.com"},{"name":"humanhuang","email":"halfthink@gmail.com"},{"name":"ls_nodejs","email":"ls_huster@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-core-sdk_1.0.0_1545631841569_0.6185372024811333"},"_hasShrinkwrap":false}},"time":{"created":"2018-12-24T06:10:41.441Z","1.0.0":"2018-12-24T06:10:41.732Z","modified":"2022-04-04T12:56:55.163Z"},"maintainers":[{"email":"console-fe@alibabacloud.com","name":"console-fe"},{"email":"sdk-team@alibabacloud.com","name":"aliyunsdkteam"},{"email":"cpj1106@gmail.com","name":"pagecao"},{"email":"fengmk2@gmail.com","name":"fengmk2"},{"email":"shyvo1987@gmail.com","name":"jacksontian"}],"description":"Node.js OpenAPI core SDK for HTTP","homepage":"https://github.com/aliyun/nodejs-http-core-sdk#readme","repository":{"type":"git","url":"git+ssh://git@github.com/aliyun/nodejs-http-core-sdk.git"},"author":{"name":"Jackson Tian"},"bugs":{"url":"https://github.com/aliyun/nodejs-http-core-sdk/issues"},"license":"MIT","readme":"# Node.js Core SDK\n\nCore SDK 用于处理底层的 HTTP/HTTPS 协议的请求和接受。\n\n## 设计理念：\n\n1. coresdk 提供两个方法：$send()/$read()\n2. $send() 方法接受一个 request 参数。该参数包含 URI 描述、Headers、Method、Body。\n\n## URL 规范\n\n```text\n┌─────────────────────────────────────────────────────────────────────────────┐\n│                                    href                                     │\n├──────────┬┬───────────┬─────────────────┬───────────────────────────┬───────┤\n│ protocol ││   auth    │      host       │           path            │ hash  │\n│          ││           ├──────────┬──────┼──────────┬────────────────┤       │\n│          ││           │ hostname │ port │ pathname │     search     │       │\n│          ││           │          │      │          ├─┬──────────────┤       │\n│          ││           │          │      │          │ │    query     │       │\n\"  http:   // user:pass @ host.com : 8080   /p/a/t/h  ?  query=string   #hash \"\n│          ││           │          │      │          │ │              │       │\n└──────────┴┴───────────┴──────────┴──────┴──────────┴─┴──────────────┴───────┘\n(all spaces in the \"\" line should be ignored -- they are purely for formatting)\n```\n\n## License\nThe MIT license\n","readmeFilename":"README.md"}