mailgun-inbound-email 1.0.0 → 2.1.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/LICENSE +22 -0
- package/README.md +811 -83
- package/index.js +339 -139
- package/package.json +18 -13
- package/SETUP.md +0 -62
package/SETUP.md
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
# Setup Instructions
|
|
2
|
-
|
|
3
|
-
## For Local Development
|
|
4
|
-
|
|
5
|
-
To use this package in your project before publishing to npm:
|
|
6
|
-
|
|
7
|
-
### Option 1: npm link (Recommended for development)
|
|
8
|
-
|
|
9
|
-
1. In the `mailgun-inbound-email` directory:
|
|
10
|
-
```bash
|
|
11
|
-
cd /home/ritik-ls/Desktop/mailgun-inbound-email
|
|
12
|
-
npm link
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
2. In your project directory:
|
|
16
|
-
```bash
|
|
17
|
-
cd /home/ritik-ls/Desktop/node_skeleton
|
|
18
|
-
npm link mailgun-inbound-email
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
### Option 2: Install from local path
|
|
22
|
-
|
|
23
|
-
In your project's `package.json`, add:
|
|
24
|
-
```json
|
|
25
|
-
{
|
|
26
|
-
"dependencies": {
|
|
27
|
-
"mailgun-inbound-email": "file:../mailgun-inbound-email"
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
Then run:
|
|
33
|
-
```bash
|
|
34
|
-
npm install
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
### Option 3: Publish to npm (for production use)
|
|
38
|
-
|
|
39
|
-
1. Update `package.json` with your details (name, author, etc.)
|
|
40
|
-
2. Login to npm:
|
|
41
|
-
```bash
|
|
42
|
-
npm login
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
3. Publish:
|
|
46
|
-
```bash
|
|
47
|
-
npm publish
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
4. Then install in your project:
|
|
51
|
-
```bash
|
|
52
|
-
npm install mailgun-inbound-email
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
## After Setup
|
|
56
|
-
|
|
57
|
-
Make sure to install dependencies in the package directory:
|
|
58
|
-
```bash
|
|
59
|
-
cd /home/ritik-ls/Desktop/mailgun-inbound-email
|
|
60
|
-
npm install
|
|
61
|
-
```
|
|
62
|
-
|