Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bjarneo/evaas

Email Validation as a Service - This is based on the RFC 5322 Official Standard.
https://github.com/bjarneo/evaas

Last synced: 3 days ago
JSON representation

Email Validation as a Service - This is based on the RFC 5322 Official Standard.

Awesome Lists containing this project

README

        

# Email Validator As A Service [EVaaS]

This is based on the RFC 5322 Official Standard. This service is made for fun based on this tweet that is using the perl RFC5322 email regex: https://twitter.com/mSykeCodes/status/1788446683921285238

## Usage

```bash
# Using CURL
curl -X POST -H "Content-Type: application/json" -d '{"email":"[email protected]"}' https://evaas.dothash.workers.dev
{"message":"RFC 5322 - Valid email address","status":1}

# Using HTTPie
http -b https://evaas.dothash.workers.dev [email protected]
{
"message": "RFC 5322 - Valid email address",
"status": 1
}
```

## Development

```
npm install
npm run dev
```

## Deployment to Cloudflare Workers

```
npm run deploy
```

## Run the test.http file

```
httpyac test/local.http
```

## Disclaimer
This is not a serious project.