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: 6 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 (8 months ago)
- Default Branch: main
- Last Pushed: 2025-03-01T16:53:22.000Z (7 months ago)
- Last Synced: 2025-04-03T12:14:06.961Z (6 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
- 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 feedbackTECH STACK
----------
* Next.js 14
* TypeScript
* Tailwind CSS
* disposable-email-detectorINSTALLATION
-----------
# 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 devUSAGE
-----
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 disposableAPI ENDPOINT
-----------
The application exposes a simple API endpoint:POST /api/checkEmail
Content-Type: application/jsonRequest 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 emailsCONTRIBUTING
-----------
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page: https://github.com/IntegerAlex/disposable-email-detector/issuesLICENSE
-------
This project is GPL-3.0 licensed.AUTHOR
------
Akshat Kotpalliwar
Portfolio: https://realtalkportfolio.vercel.app/
GitHub: https://github.com/IntegerAlexACKNOWLEDGMENTS
--------------
* 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