m0504 1.0.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/05-04.js +12 -7
- package/login init publish +0 -0
- package/npm la(extra meta) +0 -0
- package/npm ll(without depend) +0 -0
- package/npm root -g +0 -0
- package/package.json +1 -1
package/05-04.js
CHANGED
|
@@ -1,10 +1,15 @@
|
|
|
1
|
-
// '
|
|
2
|
-
//
|
|
3
|
-
const send = require('
|
|
1
|
+
// 'D:\\3k1s\\MyLabs\\PSCA\\5\\PSKP_Lab5\\node_modules\\m0504\\m0503.js'
|
|
2
|
+
// `C:\\Program Files\\nodejs\\node_modules\\m0504\\m0503.js`
|
|
3
|
+
const send = require('C:\\Program Files\\nodejs\\node_modules\\m0504\\m0503.js');
|
|
4
4
|
const http = require('http');
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
const sender = 'danik2003globin@gmail.com';
|
|
7
|
+
const receiver = 'danik2003globin@gmail.com';
|
|
8
|
+
const password = 'elbi xpzh tpem ovxo';
|
|
9
|
+
const message = '[05-03] Hello World!!!';
|
|
10
|
+
|
|
11
|
+
http.createServer((request, response) => {
|
|
12
|
+
response.writeHead(200, { 'Content-Type': 'text/html; charset=utf-8' });
|
|
13
|
+
send(receiver, sender, password, message);
|
|
14
|
+
response.end('<h2>Message sucessfully sent.</h2>');
|
|
10
15
|
}).listen(5000, () => console.log('Server running at localhost:5000/\n'));
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/npm root -g
ADDED
|
File without changes
|