{"id":17480242,"url":"https://github.com/integeralex/disposable-email-detector","last_synced_at":"2025-10-10T09:51:55.345Z","repository":{"id":226452215,"uuid":"768723714","full_name":"IntegerAlex/disposable-email-detector","owner":"IntegerAlex","description":"This repository contains a Node.js utility for detecting disposable email addresses. It helps identify whether an email address belongs to a disposable email provider, aiding in the prevention of spam and unwanted sign-ups.","archived":false,"fork":false,"pushed_at":"2025-02-28T07:29:13.000Z","size":1819,"stargazers_count":29,"open_issues_count":4,"forks_count":6,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-04T00:36:32.293Z","etag":null,"topics":["blackfire","codescene","collaborate","deepscan","deepsource","email","emailvalidator","github","github-copilot","learn","validation"],"latest_commit_sha":null,"homepage":"https://disposable-email-detector-demo.vercel.app/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IntegerAlex.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["IntegerAlex"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"polar":null,"custom":null}},"created_at":"2024-03-07T16:04:56.000Z","updated_at":"2025-09-06T04:19:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"9aed72d1-3e46-48b0-8c03-b847258e103c","html_url":"https://github.com/IntegerAlex/disposable-email-detector","commit_stats":null,"previous_names":["integeralex/disposable-email-detector"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/IntegerAlex/disposable-email-detector","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IntegerAlex%2Fdisposable-email-detector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IntegerAlex%2Fdisposable-email-detector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IntegerAlex%2Fdisposable-email-detector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IntegerAlex%2Fdisposable-email-detector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IntegerAlex","download_url":"https://codeload.github.com/IntegerAlex/disposable-email-detector/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IntegerAlex%2Fdisposable-email-detector/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279003414,"owners_count":26083582,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blackfire","codescene","collaborate","deepscan","deepsource","email","emailvalidator","github","github-copilot","learn","validation"],"created_at":"2024-10-18T21:43:05.040Z","updated_at":"2025-10-10T09:51:55.322Z","avatar_url":"https://github.com/IntegerAlex.png","language":"TypeScript","readme":"# Disposable Email Detector\n\n[![DeepScan grade](https://deepscan.io/api/teams/23370/projects/26631/branches/850159/badge/grade.svg)](https://deepscan.io/dashboard#view=project\u0026tid=23370\u0026pid=26631\u0026bid=850159)\n![workflow](https://github.com/IntegerAlex/disposable-email-detector/actions/workflows/main.yml/badge.svg)\n[![DeepSource](https://app.deepsource.com/gh/IntegerAlex/disposable-email-detector.svg/?label=resolved+issues\u0026show_trend=true\u0026token=49_pbJHQLpxvaUFKZ5pbct86)](https://app.deepsource.com/gh/IntegerAlex/disposable-email-detector/)\n\n![NPM Downloads](https://img.shields.io/npm/dt/disposable-email-detector?style=plastic\u0026logo=npm)\n![NPM Version](https://img.shields.io/npm/v/disposable-email-detector)\n\n## Overview\n\nThe `disposable-email-detector` is a TypeScript utility designed to identify disposable email addresses, providing developers with a tool to enhance email verification processes.\n\n## Demo \n\nDEMO : [LIVE](https://disposable-email-detector-demo.vercel.app/)\nDEMO REPO : [REPO](https://github.com/IntegerAlex/disposable-email-detector-demo)\n\n## Features\n\n- **Domain Check:** Identifies if an email address belongs to a known disposable email domain.\n- **Error Handling:** Offers informative messages for scenarios like missing `index.json` or invalid JSON format.\n- **Async File Reading:** Utilizes asynchronous file reading for improved performance.\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js\n- npm\n\n### Implementation Details\n\n```javascript\n    npm i disposable-email-detector\n```\n\n```javascript\n    import  disposableEmailDetector  from 'disposable-email-detector';\n\n    const email = 'test@mailinator.com';\n\n    disposableEmailDetector(email)\n        .then((response) =\u003e console.log(response)); //  true \n```\n\nThe disposableEmailDetector function reads a list of disposable email domains from index.json. It checks whether the provided email address belongs to a disposable domain and returns a boolean indicating the result.\n\n### Error Handling\n\n- If `index.json` is not found, the script informs you to create it with disposable domains.\n- If `index.json` has an invalid JSON format, it prompts you to correct the file.\n- Unexpected errors are logged to the console.\n\n## Contributing\n\nContributions are welcome! Please refer to the [contributing guidelines](CONTRIBUTING.md) for more information.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n```\n","funding_links":["https://github.com/sponsors/IntegerAlex"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintegeralex%2Fdisposable-email-detector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fintegeralex%2Fdisposable-email-detector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintegeralex%2Fdisposable-email-detector/lists"}