https://github.com/integeralex/disposable-email-detector-demo
Demo for disposable-email-detector NPM package
https://github.com/integeralex/disposable-email-detector-demo
collaborate disposable-email disposable-email-domains js nextjs nodejs npm type
Last synced: 9 months ago
JSON representation
Demo for disposable-email-detector NPM package
- Host: GitHub
- URL: https://github.com/integeralex/disposable-email-detector-demo
- Owner: IntegerAlex
- License: gpl-3.0
- Created: 2025-02-28T06:45:31.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-01T16:53:22.000Z (over 1 year ago)
- Last Synced: 2025-10-04T00:36:31.887Z (9 months ago)
- Topics: collaborate, disposable-email, disposable-email-domains, js, nextjs, nodejs, npm, type
- Language: TypeScript
- Homepage: https://disposable-email-detector-demo.vercel.app
- Size: 35.2 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Disposable Email Detector Demo
[](https://nextjs.org/)
[](https://www.typescriptlang.org/)
[](https://tailwindcss.com/)
[](https://www.npmjs.com/package/disposable-email-detector)
[](https://opensource.org/licenses/MIT)
A demonstration web application showcasing the functionality of the [disposable-email-detector] npm package.
This tool helps identify disposable/temporary email addresses in real-time.
NPM Package: https://www.npmjs.com/package/disposable-email-detector
FEATURES
--------
* Real-time email validation
* Simple and intuitive user interface
* Server-side email checking
* Responsive design
* Loading states and error handling
* Clear visual feedback
TECH STACK
----------
* Next.js 14
* TypeScript
* Tailwind CSS
* disposable-email-detector
INSTALLATION
-----------
# Clone the repository
git clone https://github.com/IntegerAlex/disposable-email-detector-demo
# Navigate to project directory
cd disposable-email-detector-demo
# Install dependencies
npm install
# Start the development server
npm run dev
USAGE
-----
1. Visit the application in your browser
2. Enter an email address in the input field
3. Click "Check Email"
4. Get instant feedback on whether the email is disposable
API ENDPOINT
-----------
The application exposes a simple API endpoint:
POST /api/checkEmail
Content-Type: application/json
Request body:
{
"email": "test@example.com"
}
Response:
{
"isDisposable": true|false
}
EXAMPLE
-------
const response = await fetch('/api/checkEmail', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ email: 'test@mailinator.com' })
});
const data = await response.json();
// data.isDisposable will be true for disposable emails
CONTRIBUTING
-----------
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page: https://github.com/IntegerAlex/disposable-email-detector/issues
LICENSE
-------
This project is GPL-3.0 licensed.
AUTHOR
------
Akshat Kotpalliwar
Portfolio: https://realtalkportfolio.vercel.app/
GitHub: https://github.com/IntegerAlex
ACKNOWLEDGMENTS
--------------
* disposable-email-detector npm package
* Next.js team for the amazing framework
* Tailwind CSS for the utility-first CSS framework
-------------------
If you found this helpful, please star the repository!
NPM Package: https://www.npmjs.com/package/disposable-email-detector