abobam0603 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "abobam0603",
3
- "version": "1.0.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
- "m0603_adam": "^1.0.0",
15
- "nodemailer": "^6.9.1"
16
- },
17
- "devDependencies": {}
15
+ "nodemailer": "^6.9.2"
16
+ }
18
17
  }
package/task4.js CHANGED
@@ -1,17 +1,6 @@
1
- // 1. Регаемся на http://npmjs.com
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
@@ -1,3 +0,0 @@
1
- // 1. npm view nodemailer
2
- // 2. npm install nodemailer
3
- // 3. npm ls nodemailer
package/task3.js DELETED
@@ -1,7 +0,0 @@
1
- const m0603 = require('./m0603');
2
-
3
- const fromEmail = 'andrei_sml@bk.ru';
4
- const toEmail = 'andrei.uiu.uiu@gmail.com';
5
- const password = '9QshLJ8vfATV5ZeAj8Na';
6
-
7
- m0603.send(fromEmail, password, toEmail, 'Hello from m0603 module!');