email-disposable 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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Dan Suciu
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,82 @@
1
+ # Email Disposable
2
+
3
+ A regularly updated list of disposable and temporary email domains, ideal for validating user sign-ups, preventing spam,
4
+ and filtering fake accounts.
5
+
6
+ ## Installation
7
+
8
+ Via NPM:
9
+
10
+ ```shell
11
+ npm install email-disposable
12
+ ```
13
+
14
+ Via Yarn:
15
+
16
+ ```shell
17
+ yarn add email-disposable
18
+ ```
19
+
20
+ ## Usage
21
+
22
+ Check if an email is disposable:
23
+
24
+ ```javascript
25
+ import isDisposable from "email-disposable"
26
+
27
+ console.log(isDisposable("john@mailinator.com")) // true
28
+ console.log(isDisposable("john@0wnd.ro")) // true
29
+ console.log(isDisposable("john@gmail.com")) // false
30
+ ```
31
+
32
+ Get the full domain list:
33
+
34
+ ```javascript
35
+ import { domainsList } from "email-disposable"
36
+
37
+ console.log(disposable.length) // 117000+
38
+ ```
39
+
40
+ ## Updates
41
+
42
+ This list combines multiple open-source sources to stay up-to-date with newly discovered disposable providers.
43
+
44
+ Use this command to get the latest domains:
45
+
46
+ ```shell
47
+ npm run fetch
48
+ ```
49
+
50
+ ## Sources
51
+
52
+ - [disposable-email-domains/disposable-email-domains](https://github.com/disposable-email-domains/disposable-email-domains)
53
+ - [TempMailDetector/Temporary-Email-Domain-Blocklist](https://github.com/TempMailDetector/Temporary-Email-Domain-Blocklist)
54
+ - [adamloving/temporary-email-address-domains](https://gist.github.com/adamloving/4401361)
55
+ - [jamesonev/disposableEmailDomains.txt](https://gist.github.com/jamesonev/7e188c35fd5ca754c970e3a1caf045ef/)
56
+ - [GeroldSetz/emailondeck.com-domains](https://github.com/GeroldSetz/emailondeck.com-domains)
57
+ - [disposable/static-disposable-lists](https://github.com/disposable/static-disposable-lists)
58
+ - [Propaganistas/Laravel-Disposable-Email](https://github.com/Propaganistas/Laravel-Disposable-Email)
59
+ - [wesbos/burner-email-providers](https://github.com/wesbos/burner-email-providers)
60
+ - [disposable/disposable-email-domains](https://github.com/disposable/disposable-email-domains)
61
+ - [unkn0w/disposable-email-domain-list](https://github.com/unkn0w/disposable-email-domain-list)
62
+ - [tompec/disposable-email-domains](https://github.com/tompec/disposable-email-domains)
63
+ - [flotwig/disposable-email-addresses](https://github.com/flotwig/disposable-email-addresses)
64
+ - [7c/fakefilter](https://github.com/7c/fakefilter)
65
+ - [daisy1754/jp-disposable-emails](https://github.com/daisy1754/jp-disposable-emails)
66
+ - [stopforumspam.com](https://www.stopforumspam.com/downloads/toxic_domains_whole.txt)
67
+ - [FGRibreau/mailchecker](https://github.com/FGRibreau/mailchecker)
68
+
69
+ ## License
70
+
71
+ [MIT](https://opensource.org/license/mit) © 2025 [Gatekeepr](https://gatekeepr.ro).
72
+
73
+ ## About
74
+
75
+ **email-disposable** is an open-source component of [Gatekeepr](https://gatekeepr.ro), a privacy-first API that blocks
76
+ fake users and platform abuse by analyzing emails, IPs, domains, and user agents in real time.
77
+
78
+
79
+
80
+
81
+
82
+