{"_id":"@alicloud/http-core-sdk","_rev":"2963304","name":"@alicloud/http-core-sdk","description":"Node.js OpenAPI core SDK for HTTP","dist-tags":{"latest":"1.0.0"},"maintainers":[{"name":"aliyunsdkteam","email":""},{"name":"console-fe","email":""},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"jacksontian","email":"shyvo1987@gmail.com"},{"name":"pagecao","email":""}],"time":{"modified":"2023-05-05T04:02:13.000Z","created":"2018-12-24T06:10:41.732Z","1.0.0":"2018-12-24T06:10:41.732Z"},"users":{},"author":{"name":"Jackson Tian"},"repository":{"type":"git","url":"git+ssh://git@github.com/aliyun/nodejs-http-core-sdk.git"},"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":{"shasum":"4e2cb835d390fc9e790a1f5a6ba5a856329225d6","size":2350,"noattachment":false,"key":"/@alicloud/http-core-sdk/-/@alicloud/http-core-sdk-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@alicloud/http-core-sdk/download/@alicloud/http-core-sdk-1.0.0.tgz"},"maintainers":[{"name":"aliyunsdkteam","email":""},{"name":"console-fe","email":""},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"jacksontian","email":"shyvo1987@gmail.com"},{"name":"pagecao","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/http-core-sdk_1.0.0_1545631841569_0.6185372024811333"},"_hasShrinkwrap":false,"publish_time":1545631841732,"_cnpm_publish_time":1545631841732,"_cnpmcore_publish_time":"2021-12-16T18:24:23.464Z"}},"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","_attachments":{},"homepage":"https://github.com/aliyun/nodejs-http-core-sdk#readme","bugs":{"url":"https://github.com/aliyun/nodejs-http-core-sdk/issues"},"license":"MIT"}