package.json
4.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"_args": [
[
{
"raw": "@alicloud/pop-core@^1.3.3",
"scope": "@alicloud",
"escapedName": "@alicloud%2fpop-core",
"name": "@alicloud/pop-core",
"rawSpec": "^1.3.3",
"spec": ">=1.3.3 <2.0.0",
"type": "range"
},
"/Users/fzy/project/koa2_Sequelize_project/node_modules/@alicloud/dybaseapi"
]
],
"_from": "@alicloud/pop-core@>=1.3.3 <2.0.0",
"_id": "@alicloud/pop-core@1.5.0",
"_inCache": true,
"_location": "/@alicloud/pop-core",
"_nodeVersion": "8.5.0",
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/pop-core-1.5.0.tgz_1508916658658_0.08523054211400449"
},
"_npmUser": {
"name": "jacksontian",
"email": "shyvo1987@gmail.com"
},
"_npmVersion": "5.4.2",
"_phantomChildren": {},
"_requested": {
"raw": "@alicloud/pop-core@^1.3.3",
"scope": "@alicloud",
"escapedName": "@alicloud%2fpop-core",
"name": "@alicloud/pop-core",
"rawSpec": "^1.3.3",
"spec": ">=1.3.3 <2.0.0",
"type": "range"
},
"_requiredBy": [
"/@alicloud/dybaseapi",
"/@alicloud/dysmsapi"
],
"_resolved": "https://registry.npmjs.org/@alicloud/pop-core/-/pop-core-1.5.0.tgz",
"_shasum": "b0f44b216237ee278d4dde245f287c94daffd68d",
"_shrinkwrap": null,
"_spec": "@alicloud/pop-core@^1.3.3",
"_where": "/Users/fzy/project/koa2_Sequelize_project/node_modules/@alicloud/dybaseapi",
"author": {
"name": "Jackson Tian"
},
"bugs": {
"url": "https://github.com/aliyun/openapi-core-nodejs-sdk/issues"
},
"dependencies": {
"httpx": "^2.1.2",
"json-bigint": "^0.2.3",
"kitx": "^1.2.1",
"xml2js": "^0.4.17"
},
"description": "AliCloud POP SDK core",
"devDependencies": {
"co-mocha": "^1.1.3",
"eslint": "^3.13.0",
"expect.js": "^0.3.1",
"istanbul": "^0.4.5",
"mocha": "^3.2.0"
},
"directories": {
"test": "test"
},
"dist": {
"integrity": "sha512-GoxTbqp+4nGPwAE3swZyVpWGdolnHhW4tkwIG/g6l7sNn1gd3EuFrA4HmhaJwTrwCgZTOkV8vgYzPiCYAophOA==",
"shasum": "b0f44b216237ee278d4dde245f287c94daffd68d",
"tarball": "https://registry.npmjs.org/@alicloud/pop-core/-/pop-core-1.5.0.tgz"
},
"files": [
"lib",
"index.js"
],
"gitHead": "209d46ca673e5b8f7586d4eb863002ff25e62bd1",
"homepage": "https://github.com/aliyun/openapi-core-nodejs-sdk#readme",
"keywords": [
"Aliyun",
"AliCloud",
"OpenAPI",
"POP",
"SDK",
"Core"
],
"license": "MIT",
"main": "index.js",
"maintainers": [
{
"name": "chuck.ql",
"email": "kunqian434@gmail.com"
},
{
"name": "rockuw",
"email": "rockuw@gmail.com"
},
{
"name": "humanhuang",
"email": "halfthink@gmail.com"
},
{
"name": "jacksontian",
"email": "shyvo1987@gmail.com"
}
],
"name": "@alicloud/pop-core",
"optionalDependencies": {},
"readme": "# @alicloud/pop-core\n\nThe core SDK of POP API.\n\n## Installation\n\nInstall it and write into package.json dependences.\n\n```sh\n$ npm install @alicloud/pop-core -S\n```\n\n## Prerequisite\n\nNode.js >= 6.x\n\n## Usage\n\nThe RPC style client:\n\n```js\nvar RPCClient = require('@alicloud/pop-core').RPCClient;\n\nvar client = new RPCClient({\n accessKeyId: '<accessKeyId>',\n secretAccessKey: '<secretAccessKey>',\n endpoint: '<endpoint>',\n apiVersion: '<apiVersion>'\n});\n\n// => returns Promise\nclient.request(action, params);\n// co/yield, async/await\n```\n\nThe ROA style client:\n\n```js\nvar ROAClient = require('@alicloud/pop-core').ROAClient;\n\nvar client = new ROAClient({\n accessKeyId: '<accessKeyId>',\n accessKeySecret: '<secretAccessKey>',\n endpoint: '<endpoint>',\n apiVersion: '<apiVersion>'\n});\n\n// => returns Promise\n// request(HTTPMethod, uriPath, queries, body, headers, options);\n// options => {timeout}\nclient.request('GET', '/regions');\n// co/yield, async/await\n```\n\n## License\nThe MIT License\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/aliyun/openapi-core-nodejs-sdk.git"
},
"scripts": {
"lint": "eslint --fix lib",
"test": "mocha --require co-mocha --reporter spec test/*.test.js",
"test-cov": "istanbul cover --report html ./node_modules/.bin/_mocha -- --require co-mocha --reporter spec test/*.test.js"
},
"types": "lib/core.d.ts",
"version": "1.5.0"
}