m0603va 1.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/Laba6/file1.js +23 -0
- package/Laba6/file2.js +23 -0
- package/Laba6/index.html +63 -0
- package/Laba6/m0603.js +29 -0
- package/Laba6/node_modules/.package-lock.json +83 -0
- package/Laba6/node_modules/httpntlm/.jshintrc +4 -0
- package/Laba6/node_modules/httpntlm/LICENSE +20 -0
- package/Laba6/node_modules/httpntlm/README.md +148 -0
- package/Laba6/node_modules/httpntlm/httpntlm.js +104 -0
- package/Laba6/node_modules/httpntlm/ntlm.js +390 -0
- package/Laba6/node_modules/httpntlm/package.json +33 -0
- package/Laba6/node_modules/httpreq/LICENSE +19 -0
- package/Laba6/node_modules/httpreq/README.md +383 -0
- package/Laba6/node_modules/httpreq/contributors.md +26 -0
- package/Laba6/node_modules/httpreq/lib/httpreq.js +681 -0
- package/Laba6/node_modules/httpreq/package.json +102 -0
- package/Laba6/node_modules/m0603sol/m0603.js +29 -0
- package/Laba6/node_modules/m0603sol/package.json +12 -0
- package/Laba6/node_modules/nodemailer/.gitattributes +6 -0
- package/Laba6/node_modules/nodemailer/.prettierrc.js +8 -0
- package/Laba6/node_modules/nodemailer/CHANGELOG.md +725 -0
- package/Laba6/node_modules/nodemailer/CODE_OF_CONDUCT.md +76 -0
- package/Laba6/node_modules/nodemailer/CONTRIBUTING.md +67 -0
- package/Laba6/node_modules/nodemailer/LICENSE +16 -0
- package/Laba6/node_modules/nodemailer/README.md +97 -0
- package/Laba6/node_modules/nodemailer/SECURITY.txt +22 -0
- package/Laba6/node_modules/nodemailer/lib/addressparser/index.js +313 -0
- package/Laba6/node_modules/nodemailer/lib/base64/index.js +142 -0
- package/Laba6/node_modules/nodemailer/lib/dkim/index.js +251 -0
- package/Laba6/node_modules/nodemailer/lib/dkim/message-parser.js +155 -0
- package/Laba6/node_modules/nodemailer/lib/dkim/relaxed-body.js +154 -0
- package/Laba6/node_modules/nodemailer/lib/dkim/sign.js +117 -0
- package/Laba6/node_modules/nodemailer/lib/fetch/cookies.js +281 -0
- package/Laba6/node_modules/nodemailer/lib/fetch/index.js +274 -0
- package/Laba6/node_modules/nodemailer/lib/json-transport/index.js +82 -0
- package/Laba6/node_modules/nodemailer/lib/mail-composer/index.js +558 -0
- package/Laba6/node_modules/nodemailer/lib/mailer/index.js +427 -0
- package/Laba6/node_modules/nodemailer/lib/mailer/mail-message.js +315 -0
- package/Laba6/node_modules/nodemailer/lib/mime-funcs/index.js +625 -0
- package/Laba6/node_modules/nodemailer/lib/mime-funcs/mime-types.js +2102 -0
- package/Laba6/node_modules/nodemailer/lib/mime-node/index.js +1290 -0
- package/Laba6/node_modules/nodemailer/lib/mime-node/last-newline.js +33 -0
- package/Laba6/node_modules/nodemailer/lib/mime-node/le-unix.js +43 -0
- package/Laba6/node_modules/nodemailer/lib/mime-node/le-windows.js +52 -0
- package/Laba6/node_modules/nodemailer/lib/nodemailer.js +143 -0
- package/Laba6/node_modules/nodemailer/lib/qp/index.js +219 -0
- package/Laba6/node_modules/nodemailer/lib/sendmail-transport/index.js +210 -0
- package/Laba6/node_modules/nodemailer/lib/ses-transport/index.js +349 -0
- package/Laba6/node_modules/nodemailer/lib/shared/index.js +638 -0
- package/Laba6/node_modules/nodemailer/lib/smtp-connection/data-stream.js +108 -0
- package/Laba6/node_modules/nodemailer/lib/smtp-connection/http-proxy-client.js +143 -0
- package/Laba6/node_modules/nodemailer/lib/smtp-connection/index.js +1796 -0
- package/Laba6/node_modules/nodemailer/lib/smtp-pool/index.js +648 -0
- package/Laba6/node_modules/nodemailer/lib/smtp-pool/pool-resource.js +253 -0
- package/Laba6/node_modules/nodemailer/lib/smtp-transport/index.js +416 -0
- package/Laba6/node_modules/nodemailer/lib/stream-transport/index.js +135 -0
- package/Laba6/node_modules/nodemailer/lib/well-known/index.js +47 -0
- package/Laba6/node_modules/nodemailer/lib/well-known/services.json +286 -0
- package/Laba6/node_modules/nodemailer/lib/xoauth2/index.js +376 -0
- package/Laba6/node_modules/nodemailer/package.json +46 -0
- package/Laba6/node_modules/nodemailer/postinstall.js +101 -0
- package/Laba6/node_modules/nodemailer-fetch/.eslintrc.js +56 -0
- package/Laba6/node_modules/nodemailer-fetch/.travis.yml +19 -0
- package/Laba6/node_modules/nodemailer-fetch/CHANGELOG.md +30 -0
- package/Laba6/node_modules/nodemailer-fetch/Gruntfile.js +27 -0
- package/Laba6/node_modules/nodemailer-fetch/LICENSE +16 -0
- package/Laba6/node_modules/nodemailer-fetch/README.md +55 -0
- package/Laba6/node_modules/nodemailer-fetch/lib/cookies.js +275 -0
- package/Laba6/node_modules/nodemailer-fetch/lib/fetch.js +224 -0
- package/Laba6/node_modules/nodemailer-fetch/package.json +30 -0
- package/Laba6/node_modules/nodemailer-fetch/test/cookies-test.js +391 -0
- package/Laba6/node_modules/nodemailer-fetch/test/fetch-test.js +486 -0
- package/Laba6/node_modules/nodemailer-shared/.eslintrc.js +59 -0
- package/Laba6/node_modules/nodemailer-shared/.travis.yml +18 -0
- package/Laba6/node_modules/nodemailer-shared/Gruntfile.js +27 -0
- package/Laba6/node_modules/nodemailer-shared/LICENSE +16 -0
- package/Laba6/node_modules/nodemailer-shared/README.md +14 -0
- package/Laba6/node_modules/nodemailer-shared/lib/shared.js +282 -0
- package/Laba6/node_modules/nodemailer-shared/package.json +36 -0
- package/Laba6/node_modules/nodemailer-shared/test/fixtures/message.html +1 -0
- package/Laba6/node_modules/nodemailer-shared/test/shared-test.js +291 -0
- package/Laba6/node_modules/nodemailer-smtp-transport/.eslintrc.js +59 -0
- package/Laba6/node_modules/nodemailer-smtp-transport/Gruntfile.js +27 -0
- package/Laba6/node_modules/nodemailer-smtp-transport/LICENSE +19 -0
- package/Laba6/node_modules/nodemailer-smtp-transport/README.md +7 -0
- package/Laba6/node_modules/nodemailer-smtp-transport/lib/smtp-transport.js +281 -0
- package/Laba6/node_modules/nodemailer-smtp-transport/package.json +37 -0
- package/Laba6/node_modules/nodemailer-wellknown/.travis.yml +17 -0
- package/Laba6/node_modules/nodemailer-wellknown/LICENSE +19 -0
- package/Laba6/node_modules/nodemailer-wellknown/README.md +80 -0
- package/Laba6/node_modules/nodemailer-wellknown/index.js +47 -0
- package/Laba6/node_modules/nodemailer-wellknown/package.json +26 -0
- package/Laba6/node_modules/nodemailer-wellknown/services.json +255 -0
- package/Laba6/node_modules/nodemailer-wellknown/test.js +23 -0
- package/Laba6/node_modules/smtp-connection/.eslintrc.js +56 -0
- package/Laba6/node_modules/smtp-connection/CHANGELOG.md +164 -0
- package/Laba6/node_modules/smtp-connection/Gruntfile.js +27 -0
- package/Laba6/node_modules/smtp-connection/LICENSE +19 -0
- package/Laba6/node_modules/smtp-connection/README.md +200 -0
- package/Laba6/node_modules/smtp-connection/lib/data-stream.js +111 -0
- package/Laba6/node_modules/smtp-connection/lib/smtp-connection.js +1443 -0
- package/Laba6/node_modules/smtp-connection/package.json +41 -0
- package/Laba6/node_modules/underscore/LICENSE +23 -0
- package/Laba6/node_modules/underscore/README.md +22 -0
- package/Laba6/node_modules/underscore/package.json +41 -0
- package/Laba6/node_modules/underscore/underscore-min.js +6 -0
- package/Laba6/node_modules/underscore/underscore.js +1415 -0
- package/Laba6/package-lock.json +94 -0
- package/Laba6/package.json +17 -0
- package/Laba6.txt +31 -0
- package/file1.js +23 -0
- package/file2.js +23 -0
- package/index.html +63 -0
- package/m0603.js +29 -0
- package/m0603Sol/m0603.js +29 -0
- package/m0603Sol/package.json +12 -0
- package/package.json +17 -0
@@ -0,0 +1,102 @@
|
|
1
|
+
{
|
2
|
+
"name": "httpreq",
|
3
|
+
"description": "node-httpreq is a node.js library to do HTTP(S) requests the easy way",
|
4
|
+
"version": "0.5.2",
|
5
|
+
"author": {
|
6
|
+
"name": "Sam Decrock",
|
7
|
+
"url": "https://github.com/SamDecrock/"
|
8
|
+
},
|
9
|
+
"bugs": {
|
10
|
+
"url": "https://github.com/SamDecrock/node-httpreq/issues"
|
11
|
+
},
|
12
|
+
"engines": {
|
13
|
+
"node": ">= 6.15.1"
|
14
|
+
},
|
15
|
+
"repository": {
|
16
|
+
"type": "git",
|
17
|
+
"url": "git://github.com/SamDecrock/node-httpreq.git"
|
18
|
+
},
|
19
|
+
"main": "./lib/httpreq",
|
20
|
+
"license": "MIT",
|
21
|
+
"devDependencies": {
|
22
|
+
"chai": "~1.9.1",
|
23
|
+
"mocha": "~1.20.1",
|
24
|
+
"express": "^4.17.1",
|
25
|
+
"body-parser": "^1.19.0",
|
26
|
+
"multer": "^1.4.2"
|
27
|
+
},
|
28
|
+
"contributors": [
|
29
|
+
{
|
30
|
+
"name": "Russell Beattie",
|
31
|
+
"email": "russ@russellbeattie.com",
|
32
|
+
"url": "https://github.com/russellbeattie",
|
33
|
+
"contributions": 1,
|
34
|
+
"additions": 55,
|
35
|
+
"deletions": 3,
|
36
|
+
"hireable": null
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"name": "Jason Prickett MSFT",
|
40
|
+
"email": null,
|
41
|
+
"url": "https://github.com/jpricketMSFT",
|
42
|
+
"contributions": 1,
|
43
|
+
"additions": 5,
|
44
|
+
"deletions": 0,
|
45
|
+
"hireable": null
|
46
|
+
},
|
47
|
+
{
|
48
|
+
"name": null,
|
49
|
+
"email": null,
|
50
|
+
"url": "https://github.com/jjharriso",
|
51
|
+
"contributions": 1,
|
52
|
+
"additions": 12,
|
53
|
+
"deletions": 0,
|
54
|
+
"hireable": null
|
55
|
+
},
|
56
|
+
{
|
57
|
+
"name": "Sam",
|
58
|
+
"email": null,
|
59
|
+
"url": "https://github.com/SamDecrock",
|
60
|
+
"contributions": 63,
|
61
|
+
"additions": 2309,
|
62
|
+
"deletions": 1040,
|
63
|
+
"hireable": true
|
64
|
+
},
|
65
|
+
{
|
66
|
+
"name": "MJJ",
|
67
|
+
"email": null,
|
68
|
+
"url": "https://github.com/mjj2000",
|
69
|
+
"contributions": 1,
|
70
|
+
"additions": 11,
|
71
|
+
"deletions": 1,
|
72
|
+
"hireable": true
|
73
|
+
},
|
74
|
+
{
|
75
|
+
"name": "Jeff Young",
|
76
|
+
"email": null,
|
77
|
+
"url": "https://github.com/jeffyoung",
|
78
|
+
"contributions": 1,
|
79
|
+
"additions": 19,
|
80
|
+
"deletions": 1,
|
81
|
+
"hireable": null
|
82
|
+
},
|
83
|
+
{
|
84
|
+
"name": "Dave Preston",
|
85
|
+
"email": null,
|
86
|
+
"url": "https://github.com/davepreston",
|
87
|
+
"contributions": 1,
|
88
|
+
"additions": 5,
|
89
|
+
"deletions": 0,
|
90
|
+
"hireable": null
|
91
|
+
},
|
92
|
+
{
|
93
|
+
"name": "Franklin van de Meent",
|
94
|
+
"email": "fr@nkl.in",
|
95
|
+
"url": "https://github.com/fvdm",
|
96
|
+
"contributions": 8,
|
97
|
+
"additions": 51,
|
98
|
+
"deletions": 16,
|
99
|
+
"hireable": null
|
100
|
+
}
|
101
|
+
]
|
102
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
const nodemailer=require('nodemailer');
|
2
|
+
const smtpTransport=require('nodemailer-smtp-transport');
|
3
|
+
|
4
|
+
function send(sender,receiver,message)
|
5
|
+
{
|
6
|
+
let transporter=nodemailer.createTransport(smtpTransport({
|
7
|
+
host:'smtp.gmail.com',
|
8
|
+
port: 587,
|
9
|
+
secure: false,
|
10
|
+
auth:{
|
11
|
+
user:sender,
|
12
|
+
pass:'ociqxonvpbwgnxbb'
|
13
|
+
}
|
14
|
+
}));
|
15
|
+
|
16
|
+
var mailOptions={
|
17
|
+
from: sender,
|
18
|
+
to: receiver,
|
19
|
+
subject:'Lab6',
|
20
|
+
text:message,
|
21
|
+
html:`<i>${message}</i>`
|
22
|
+
};
|
23
|
+
|
24
|
+
transporter.sendMail(mailOptions,function(error,info){
|
25
|
+
error ? console.log(error):console.log(`Email.sent:Sender-${sender} Receiver-${receiver} Message-${message}`);
|
26
|
+
})
|
27
|
+
};
|
28
|
+
|
29
|
+
module.exports=send
|