daeun

add cfr_test file

1 +var express = require('express');
2 +var app = express();
3 +var client_id = 'v3M4wjolGLkrvNA3GUIW';
4 +var client_secret = 'fKF6vjkWhE';
5 +var fs = require('fs');
6 +
7 +app.get('/', function (req, res) {
8 + var request = require('request');
9 + //var api_url = 'https://openapi.naver.com/v1/vision/celebrity'; // 유명인 인식
10 + var api_url = 'https://openapi.naver.com/v1/vision/face'; // 얼굴 감지
11 +
12 + var _formData = {
13 + image:'image',
14 + image: fs.createReadStream(__dirname + "\\IU.jpg") // FILE 이름
15 + };
16 + var _req = request.post({url:api_url, formData:_formData,
17 + headers: {'X-Naver-Client-Id':client_id, 'X-Naver-Client-Secret': client_secret}}).on('response', function(response) {
18 + console.log(response.statusCode) // 200
19 + console.log(response.headers['content-type'])
20 + });
21 + console.log( request.head );
22 + _req.pipe(res); // 브라우저로 출력
23 + });
24 +
25 + app.listen(8080, function () {
26 + console.log('http://127.0.0.1:8080/face app listening on port 8080!');
27 + });
...\ No newline at end of file ...\ No newline at end of file
1 +{
2 + "requires": true,
3 + "lockfileVersion": 1,
4 + "dependencies": {
5 + "accepts": {
6 + "version": "1.3.7",
7 + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz",
8 + "integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==",
9 + "requires": {
10 + "mime-types": "~2.1.24",
11 + "negotiator": "0.6.2"
12 + }
13 + },
14 + "ajv": {
15 + "version": "6.12.6",
16 + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
17 + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",
18 + "requires": {
19 + "fast-deep-equal": "^3.1.1",
20 + "fast-json-stable-stringify": "^2.0.0",
21 + "json-schema-traverse": "^0.4.1",
22 + "uri-js": "^4.2.2"
23 + }
24 + },
25 + "array-flatten": {
26 + "version": "1.1.1",
27 + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz",
28 + "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI="
29 + },
30 + "asn1": {
31 + "version": "0.2.4",
32 + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz",
33 + "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==",
34 + "requires": {
35 + "safer-buffer": "~2.1.0"
36 + }
37 + },
38 + "assert-plus": {
39 + "version": "1.0.0",
40 + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz",
41 + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU="
42 + },
43 + "asynckit": {
44 + "version": "0.4.0",
45 + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
46 + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
47 + },
48 + "aws-sign2": {
49 + "version": "0.7.0",
50 + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz",
51 + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg="
52 + },
53 + "aws4": {
54 + "version": "1.11.0",
55 + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.11.0.tgz",
56 + "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA=="
57 + },
58 + "bcrypt-pbkdf": {
59 + "version": "1.0.2",
60 + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz",
61 + "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=",
62 + "requires": {
63 + "tweetnacl": "^0.14.3"
64 + }
65 + },
66 + "body-parser": {
67 + "version": "1.19.0",
68 + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz",
69 + "integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==",
70 + "requires": {
71 + "bytes": "3.1.0",
72 + "content-type": "~1.0.4",
73 + "debug": "2.6.9",
74 + "depd": "~1.1.2",
75 + "http-errors": "1.7.2",
76 + "iconv-lite": "0.4.24",
77 + "on-finished": "~2.3.0",
78 + "qs": "6.7.0",
79 + "raw-body": "2.4.0",
80 + "type-is": "~1.6.17"
81 + }
82 + },
83 + "bytes": {
84 + "version": "3.1.0",
85 + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz",
86 + "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg=="
87 + },
88 + "caseless": {
89 + "version": "0.12.0",
90 + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz",
91 + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw="
92 + },
93 + "combined-stream": {
94 + "version": "1.0.8",
95 + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
96 + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
97 + "requires": {
98 + "delayed-stream": "~1.0.0"
99 + }
100 + },
101 + "content-disposition": {
102 + "version": "0.5.3",
103 + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.3.tgz",
104 + "integrity": "sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g==",
105 + "requires": {
106 + "safe-buffer": "5.1.2"
107 + }
108 + },
109 + "content-type": {
110 + "version": "1.0.4",
111 + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz",
112 + "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA=="
113 + },
114 + "cookie": {
115 + "version": "0.4.0",
116 + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz",
117 + "integrity": "sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg=="
118 + },
119 + "cookie-signature": {
120 + "version": "1.0.6",
121 + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz",
122 + "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw="
123 + },
124 + "core-util-is": {
125 + "version": "1.0.2",
126 + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
127 + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac="
128 + },
129 + "dashdash": {
130 + "version": "1.14.1",
131 + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz",
132 + "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=",
133 + "requires": {
134 + "assert-plus": "^1.0.0"
135 + }
136 + },
137 + "debug": {
138 + "version": "2.6.9",
139 + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
140 + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
141 + "requires": {
142 + "ms": "2.0.0"
143 + }
144 + },
145 + "delayed-stream": {
146 + "version": "1.0.0",
147 + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
148 + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk="
149 + },
150 + "depd": {
151 + "version": "1.1.2",
152 + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz",
153 + "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak="
154 + },
155 + "destroy": {
156 + "version": "1.0.4",
157 + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz",
158 + "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA="
159 + },
160 + "ecc-jsbn": {
161 + "version": "0.1.2",
162 + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz",
163 + "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=",
164 + "requires": {
165 + "jsbn": "~0.1.0",
166 + "safer-buffer": "^2.1.0"
167 + }
168 + },
169 + "ee-first": {
170 + "version": "1.1.1",
171 + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",
172 + "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0="
173 + },
174 + "encodeurl": {
175 + "version": "1.0.2",
176 + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz",
177 + "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k="
178 + },
179 + "escape-html": {
180 + "version": "1.0.3",
181 + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz",
182 + "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg="
183 + },
184 + "etag": {
185 + "version": "1.8.1",
186 + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz",
187 + "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc="
188 + },
189 + "express": {
190 + "version": "4.17.1",
191 + "resolved": "https://registry.npmjs.org/express/-/express-4.17.1.tgz",
192 + "integrity": "sha512-mHJ9O79RqluphRrcw2X/GTh3k9tVv8YcoyY4Kkh4WDMUYKRZUq0h1o0w2rrrxBqM7VoeUVqgb27xlEMXTnYt4g==",
193 + "requires": {
194 + "accepts": "~1.3.7",
195 + "array-flatten": "1.1.1",
196 + "body-parser": "1.19.0",
197 + "content-disposition": "0.5.3",
198 + "content-type": "~1.0.4",
199 + "cookie": "0.4.0",
200 + "cookie-signature": "1.0.6",
201 + "debug": "2.6.9",
202 + "depd": "~1.1.2",
203 + "encodeurl": "~1.0.2",
204 + "escape-html": "~1.0.3",
205 + "etag": "~1.8.1",
206 + "finalhandler": "~1.1.2",
207 + "fresh": "0.5.2",
208 + "merge-descriptors": "1.0.1",
209 + "methods": "~1.1.2",
210 + "on-finished": "~2.3.0",
211 + "parseurl": "~1.3.3",
212 + "path-to-regexp": "0.1.7",
213 + "proxy-addr": "~2.0.5",
214 + "qs": "6.7.0",
215 + "range-parser": "~1.2.1",
216 + "safe-buffer": "5.1.2",
217 + "send": "0.17.1",
218 + "serve-static": "1.14.1",
219 + "setprototypeof": "1.1.1",
220 + "statuses": "~1.5.0",
221 + "type-is": "~1.6.18",
222 + "utils-merge": "1.0.1",
223 + "vary": "~1.1.2"
224 + }
225 + },
226 + "extend": {
227 + "version": "3.0.2",
228 + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
229 + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g=="
230 + },
231 + "extsprintf": {
232 + "version": "1.3.0",
233 + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz",
234 + "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU="
235 + },
236 + "fast-deep-equal": {
237 + "version": "3.1.3",
238 + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
239 + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="
240 + },
241 + "fast-json-stable-stringify": {
242 + "version": "2.1.0",
243 + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
244 + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw=="
245 + },
246 + "finalhandler": {
247 + "version": "1.1.2",
248 + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz",
249 + "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==",
250 + "requires": {
251 + "debug": "2.6.9",
252 + "encodeurl": "~1.0.2",
253 + "escape-html": "~1.0.3",
254 + "on-finished": "~2.3.0",
255 + "parseurl": "~1.3.3",
256 + "statuses": "~1.5.0",
257 + "unpipe": "~1.0.0"
258 + }
259 + },
260 + "forever-agent": {
261 + "version": "0.6.1",
262 + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz",
263 + "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE="
264 + },
265 + "form-data": {
266 + "version": "2.3.3",
267 + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz",
268 + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==",
269 + "requires": {
270 + "asynckit": "^0.4.0",
271 + "combined-stream": "^1.0.6",
272 + "mime-types": "^2.1.12"
273 + }
274 + },
275 + "forwarded": {
276 + "version": "0.1.2",
277 + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz",
278 + "integrity": "sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ="
279 + },
280 + "fresh": {
281 + "version": "0.5.2",
282 + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
283 + "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac="
284 + },
285 + "fs": {
286 + "version": "0.0.1-security",
287 + "resolved": "https://registry.npmjs.org/fs/-/fs-0.0.1-security.tgz",
288 + "integrity": "sha1-invTcYa23d84E/I4WLV+yq9eQdQ="
289 + },
290 + "getpass": {
291 + "version": "0.1.7",
292 + "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz",
293 + "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=",
294 + "requires": {
295 + "assert-plus": "^1.0.0"
296 + }
297 + },
298 + "har-schema": {
299 + "version": "2.0.0",
300 + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz",
301 + "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI="
302 + },
303 + "har-validator": {
304 + "version": "5.1.5",
305 + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz",
306 + "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==",
307 + "requires": {
308 + "ajv": "^6.12.3",
309 + "har-schema": "^2.0.0"
310 + }
311 + },
312 + "http-errors": {
313 + "version": "1.7.2",
314 + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz",
315 + "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==",
316 + "requires": {
317 + "depd": "~1.1.2",
318 + "inherits": "2.0.3",
319 + "setprototypeof": "1.1.1",
320 + "statuses": ">= 1.5.0 < 2",
321 + "toidentifier": "1.0.0"
322 + }
323 + },
324 + "http-signature": {
325 + "version": "1.2.0",
326 + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz",
327 + "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=",
328 + "requires": {
329 + "assert-plus": "^1.0.0",
330 + "jsprim": "^1.2.2",
331 + "sshpk": "^1.7.0"
332 + }
333 + },
334 + "iconv-lite": {
335 + "version": "0.4.24",
336 + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
337 + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
338 + "requires": {
339 + "safer-buffer": ">= 2.1.2 < 3"
340 + }
341 + },
342 + "inherits": {
343 + "version": "2.0.3",
344 + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
345 + "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4="
346 + },
347 + "ipaddr.js": {
348 + "version": "1.9.1",
349 + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz",
350 + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g=="
351 + },
352 + "is-typedarray": {
353 + "version": "1.0.0",
354 + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz",
355 + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo="
356 + },
357 + "isstream": {
358 + "version": "0.1.2",
359 + "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz",
360 + "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo="
361 + },
362 + "jsbn": {
363 + "version": "0.1.1",
364 + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz",
365 + "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM="
366 + },
367 + "json-schema": {
368 + "version": "0.2.3",
369 + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz",
370 + "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM="
371 + },
372 + "json-schema-traverse": {
373 + "version": "0.4.1",
374 + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
375 + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg=="
376 + },
377 + "json-stringify-safe": {
378 + "version": "5.0.1",
379 + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz",
380 + "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus="
381 + },
382 + "jsprim": {
383 + "version": "1.4.1",
384 + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz",
385 + "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=",
386 + "requires": {
387 + "assert-plus": "1.0.0",
388 + "extsprintf": "1.3.0",
389 + "json-schema": "0.2.3",
390 + "verror": "1.10.0"
391 + }
392 + },
393 + "media-typer": {
394 + "version": "0.3.0",
395 + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
396 + "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g="
397 + },
398 + "merge-descriptors": {
399 + "version": "1.0.1",
400 + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz",
401 + "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E="
402 + },
403 + "methods": {
404 + "version": "1.1.2",
405 + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz",
406 + "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4="
407 + },
408 + "mime": {
409 + "version": "1.6.0",
410 + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz",
411 + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg=="
412 + },
413 + "mime-db": {
414 + "version": "1.44.0",
415 + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.44.0.tgz",
416 + "integrity": "sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg=="
417 + },
418 + "mime-types": {
419 + "version": "2.1.27",
420 + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.27.tgz",
421 + "integrity": "sha512-JIhqnCasI9yD+SsmkquHBxTSEuZdQX5BuQnS2Vc7puQQQ+8yiP5AY5uWhpdv4YL4VM5c6iliiYWPgJ/nJQLp7w==",
422 + "requires": {
423 + "mime-db": "1.44.0"
424 + }
425 + },
426 + "ms": {
427 + "version": "2.0.0",
428 + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
429 + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
430 + },
431 + "negotiator": {
432 + "version": "0.6.2",
433 + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz",
434 + "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw=="
435 + },
436 + "oauth-sign": {
437 + "version": "0.9.0",
438 + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz",
439 + "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ=="
440 + },
441 + "on-finished": {
442 + "version": "2.3.0",
443 + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz",
444 + "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=",
445 + "requires": {
446 + "ee-first": "1.1.1"
447 + }
448 + },
449 + "parseurl": {
450 + "version": "1.3.3",
451 + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",
452 + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ=="
453 + },
454 + "path-to-regexp": {
455 + "version": "0.1.7",
456 + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz",
457 + "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w="
458 + },
459 + "performance-now": {
460 + "version": "2.1.0",
461 + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz",
462 + "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns="
463 + },
464 + "proxy-addr": {
465 + "version": "2.0.6",
466 + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.6.tgz",
467 + "integrity": "sha512-dh/frvCBVmSsDYzw6n926jv974gddhkFPfiN8hPOi30Wax25QZyZEGveluCgliBnqmuM+UJmBErbAUFIoDbjOw==",
468 + "requires": {
469 + "forwarded": "~0.1.2",
470 + "ipaddr.js": "1.9.1"
471 + }
472 + },
473 + "psl": {
474 + "version": "1.8.0",
475 + "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz",
476 + "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ=="
477 + },
478 + "punycode": {
479 + "version": "2.1.1",
480 + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",
481 + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A=="
482 + },
483 + "qs": {
484 + "version": "6.7.0",
485 + "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz",
486 + "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ=="
487 + },
488 + "range-parser": {
489 + "version": "1.2.1",
490 + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz",
491 + "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg=="
492 + },
493 + "raw-body": {
494 + "version": "2.4.0",
495 + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz",
496 + "integrity": "sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==",
497 + "requires": {
498 + "bytes": "3.1.0",
499 + "http-errors": "1.7.2",
500 + "iconv-lite": "0.4.24",
501 + "unpipe": "1.0.0"
502 + }
503 + },
504 + "request": {
505 + "version": "2.88.2",
506 + "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz",
507 + "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==",
508 + "requires": {
509 + "aws-sign2": "~0.7.0",
510 + "aws4": "^1.8.0",
511 + "caseless": "~0.12.0",
512 + "combined-stream": "~1.0.6",
513 + "extend": "~3.0.2",
514 + "forever-agent": "~0.6.1",
515 + "form-data": "~2.3.2",
516 + "har-validator": "~5.1.3",
517 + "http-signature": "~1.2.0",
518 + "is-typedarray": "~1.0.0",
519 + "isstream": "~0.1.2",
520 + "json-stringify-safe": "~5.0.1",
521 + "mime-types": "~2.1.19",
522 + "oauth-sign": "~0.9.0",
523 + "performance-now": "^2.1.0",
524 + "qs": "~6.5.2",
525 + "safe-buffer": "^5.1.2",
526 + "tough-cookie": "~2.5.0",
527 + "tunnel-agent": "^0.6.0",
528 + "uuid": "^3.3.2"
529 + },
530 + "dependencies": {
531 + "qs": {
532 + "version": "6.5.2",
533 + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz",
534 + "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA=="
535 + }
536 + }
537 + },
538 + "safe-buffer": {
539 + "version": "5.1.2",
540 + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
541 + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
542 + },
543 + "safer-buffer": {
544 + "version": "2.1.2",
545 + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
546 + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
547 + },
548 + "send": {
549 + "version": "0.17.1",
550 + "resolved": "https://registry.npmjs.org/send/-/send-0.17.1.tgz",
551 + "integrity": "sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg==",
552 + "requires": {
553 + "debug": "2.6.9",
554 + "depd": "~1.1.2",
555 + "destroy": "~1.0.4",
556 + "encodeurl": "~1.0.2",
557 + "escape-html": "~1.0.3",
558 + "etag": "~1.8.1",
559 + "fresh": "0.5.2",
560 + "http-errors": "~1.7.2",
561 + "mime": "1.6.0",
562 + "ms": "2.1.1",
563 + "on-finished": "~2.3.0",
564 + "range-parser": "~1.2.1",
565 + "statuses": "~1.5.0"
566 + },
567 + "dependencies": {
568 + "ms": {
569 + "version": "2.1.1",
570 + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz",
571 + "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg=="
572 + }
573 + }
574 + },
575 + "serve-static": {
576 + "version": "1.14.1",
577 + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz",
578 + "integrity": "sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg==",
579 + "requires": {
580 + "encodeurl": "~1.0.2",
581 + "escape-html": "~1.0.3",
582 + "parseurl": "~1.3.3",
583 + "send": "0.17.1"
584 + }
585 + },
586 + "setprototypeof": {
587 + "version": "1.1.1",
588 + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz",
589 + "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw=="
590 + },
591 + "sshpk": {
592 + "version": "1.16.1",
593 + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz",
594 + "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==",
595 + "requires": {
596 + "asn1": "~0.2.3",
597 + "assert-plus": "^1.0.0",
598 + "bcrypt-pbkdf": "^1.0.0",
599 + "dashdash": "^1.12.0",
600 + "ecc-jsbn": "~0.1.1",
601 + "getpass": "^0.1.1",
602 + "jsbn": "~0.1.0",
603 + "safer-buffer": "^2.0.2",
604 + "tweetnacl": "~0.14.0"
605 + }
606 + },
607 + "statuses": {
608 + "version": "1.5.0",
609 + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz",
610 + "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow="
611 + },
612 + "toidentifier": {
613 + "version": "1.0.0",
614 + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz",
615 + "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw=="
616 + },
617 + "tough-cookie": {
618 + "version": "2.5.0",
619 + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz",
620 + "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==",
621 + "requires": {
622 + "psl": "^1.1.28",
623 + "punycode": "^2.1.1"
624 + }
625 + },
626 + "tunnel-agent": {
627 + "version": "0.6.0",
628 + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz",
629 + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=",
630 + "requires": {
631 + "safe-buffer": "^5.0.1"
632 + }
633 + },
634 + "tweetnacl": {
635 + "version": "0.14.5",
636 + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz",
637 + "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q="
638 + },
639 + "type-is": {
640 + "version": "1.6.18",
641 + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz",
642 + "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==",
643 + "requires": {
644 + "media-typer": "0.3.0",
645 + "mime-types": "~2.1.24"
646 + }
647 + },
648 + "unpipe": {
649 + "version": "1.0.0",
650 + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",
651 + "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw="
652 + },
653 + "uri-js": {
654 + "version": "4.4.0",
655 + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.0.tgz",
656 + "integrity": "sha512-B0yRTzYdUCCn9n+F4+Gh4yIDtMQcaJsmYBDsTSG8g/OejKBodLQ2IHfN3bM7jUsRXndopT7OIXWdYqc1fjmV6g==",
657 + "requires": {
658 + "punycode": "^2.1.0"
659 + }
660 + },
661 + "utils-merge": {
662 + "version": "1.0.1",
663 + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz",
664 + "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM="
665 + },
666 + "uuid": {
667 + "version": "3.4.0",
668 + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz",
669 + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A=="
670 + },
671 + "vary": {
672 + "version": "1.1.2",
673 + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",
674 + "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw="
675 + },
676 + "verror": {
677 + "version": "1.10.0",
678 + "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz",
679 + "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=",
680 + "requires": {
681 + "assert-plus": "^1.0.0",
682 + "core-util-is": "1.0.2",
683 + "extsprintf": "^1.2.0"
684 + }
685 + }
686 + }
687 +}
1 +{
2 + "name": "oss-cfr",
3 + "version": "1.0.0",
4 + "description": "oss-cfr",
5 + "main": "cfr_test.js",
6 + "dependencies": {
7 + "express": "^4.17.1",
8 + "fs": "^0.0.1-security",
9 + "request": "^2.88.2"
10 + },
11 + "devDependencies": {},
12 + "scripts": {
13 + "test": "echo \"Error: no test specified\" && exit 1"
14 + },
15 + "repository": {
16 + "type": "git",
17 + "url": "http://khuhub.khu.ac.kr/2018102237/cfr-chatbot.git"
18 + },
19 + "author": "daeun",
20 + "license": "ISC"
21 +}