abobam0603 1.0.0 → 1.0.1
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/package.json +4 -5
- package/task4.js +2 -13
- package/task1.js +0 -3
- package/task3.js +0 -7
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "abobam0603",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.1",
|
4
4
|
"description": "m0603 package for sending message through nodemailer",
|
5
5
|
"main": "m0603.js",
|
6
6
|
"scripts": {
|
@@ -10,9 +10,8 @@
|
|
10
10
|
"author": "potatorb",
|
11
11
|
"license": "ISC",
|
12
12
|
"dependencies": {
|
13
|
+
"abobam0603": "^1.0.1",
|
13
14
|
"express": "^4.18.2",
|
14
|
-
"
|
15
|
-
|
16
|
-
},
|
17
|
-
"devDependencies": {}
|
15
|
+
"nodemailer": "^6.9.2"
|
16
|
+
}
|
18
17
|
}
|
package/task4.js
CHANGED
@@ -1,17 +1,6 @@
|
|
1
|
-
|
2
|
-
// 2. После создания модуля пишем 'npm init' и заполняем данные о пакете
|
3
|
-
// 3. Пишем 'npm login <nickname>' и входим в учетку
|
4
|
-
// 4. Пишем 'npm publish' и вуаля, пакет в npm
|
5
|
-
// 5. npm install
|
6
|
-
// 6. npm uninstall
|
7
|
-
// 7. To install the m0603 package to the global repository, you can run the npm install -g
|
8
|
-
// command in the terminal from the package's root directory. This will install the package globally
|
9
|
-
// and make it available for use in any application.
|
10
|
-
|
11
|
-
const m0603 = require('m0603_adam');
|
1
|
+
const m0603 = require('abobam0603');
|
12
2
|
|
13
3
|
const fromEmail = 'andrei_sml@bk.ru';
|
14
4
|
const toEmail = 'andrei.uiu.uiu@gmail.com';
|
15
5
|
const password = '9QshLJ8vfATV5ZeAj8Na';
|
16
|
-
|
17
|
-
m0603.send(fromEmail, password, toEmail, 'Hello!');
|
6
|
+
m0603.send(fromEmail, password, toEmail, 'gg!');
|
package/task1.js
DELETED