![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
disposable-email-domains
Advanced tools
A list of [disposable email domains](http://en.wikipedia.org/wiki/Disposable_email_address) like `mailinator.com`. You can use it to detect or block disposable accounts in your signup process. Exact domain matches are found in [index.json](https://github.
The disposable-email-domains npm package provides a list of domains that are known to be used for disposable email addresses. This can be useful for filtering out temporary or throwaway email addresses in your applications.
Check if a domain is disposable
This feature allows you to check if a given email address belongs to a disposable email domain. The code sample demonstrates how to split the email to get the domain and check if it is in the list of disposable domains.
const disposableDomains = require('disposable-email-domains');
function isDisposableEmail(email) {
const domain = email.split('@')[1];
return disposableDomains.includes(domain);
}
console.log(isDisposableEmail('test@mailinator.com')); // true
console.log(isDisposableEmail('test@gmail.com')); // false
Get the list of disposable domains
This feature allows you to access the entire list of disposable email domains. The code sample demonstrates how to require the package and log the list of domains.
const disposableDomains = require('disposable-email-domains');
console.log(disposableDomains);
The disposable-email package provides similar functionality by offering a list of disposable email domains and a function to check if an email is disposable. It also includes additional features like updating the list of domains from a remote source.
The email-verifier package offers more comprehensive email validation, including checking for disposable email addresses, verifying the email format, and checking the existence of the email domain. It provides a broader range of email verification features compared to disposable-email-domains.
The is-disposable-email package focuses on checking if an email address is disposable. It provides a simple API to check if an email is from a disposable domain, similar to disposable-email-domains, but with a different implementation.
A list of disposable email domains like mailinator.com
. You can use it to detect or block disposable accounts in your signup process. Exact domain matches are found in index.json and wildcard domains (ex: *.33mail.com
) are in wildcard.json.
var domains = require('disposable-email-domains');
var wildcards = require('disposable-email-domains/wildcard.json');
// ... your code here
An always-up-to-date version of this repo is provided as an API by Kickbox. Issuing a GET
request to https://open.kickbox.com/v1/disposable/{DomainOrEmailAddress} will return {"disposable":true}
or {"disposable":false}
as a JSON response.
https://open.kickbox.com/v1/disposable/mailinator.com
{"disposable":true}
$ npm install disposable-email-domains
$ component install ivolo/disposable-email-domains
Add new disposable domains to index.json and wildcard disposable domains to wildcard.json. Contributions should be in alphabetical order and lowercase. Please run npm run test
before creating a Pull Request to ensure all tests are passing.
WWWWWW||WWWWWW
W W W||W W W
||
( OO )__________
/ | \
/o o| MIT \
\___/||_||__||_|| *
|| || || ||
_||_|| _||_||
(__|__|(__|__|
THE SOFTWARE IS PROVIDED "AS IS" AND "AS AND WHEN AVAILABLE", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
FAQs
A list of [disposable email domains](http://en.wikipedia.org/wiki/Disposable_email_address) like `mailinator.com`. You can use it to detect or block disposable accounts in your signup process. Exact domain matches are found in [index.json](https://github.
The npm package disposable-email-domains receives a total of 0 weekly downloads. As such, disposable-email-domains popularity was classified as not popular.
We found that disposable-email-domains demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.