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
- Real-time email validation
- Simple and intuitive user interface
- Server-side email checking
- Responsive design
- Loading states and error handling
- Clear visual feedback
- Next.js 14
- TypeScript
- Tailwind CSS
- disposable-email-detector
git clone https://github.com/IntegerAlex/disposable-email-detector-demo
cd disposable-email-detector-demo
npm install
npm run dev
- Visit the application in your browser
- Enter an email address in the input field
- Click "Check Email"
- Get instant feedback on whether the email is disposable
The application exposes a simple API endpoint:
POST /api/checkEmail Content-Type: application/json
Request body: { "email": "test@example.com" }
Response: { "isDisposable": true|false }
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
Contributions, issues, and feature requests are welcome! Feel free to check the issues page: https://github.com/IntegerAlex/disposable-email-detector/issues
This project is GPL-3.0 licensed.
Akshat Kotpalliwar Portfolio: https://realtalkportfolio.vercel.app/ GitHub: https://github.com/IntegerAlex
- 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