WorldDownTown / EmailValidator

String validator made of Kotlin to check email or not.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EmailValidator

Overview

EmailValidator is a String validator made of Kotlin to check email or not.

Usage

val fooValidator = EmailValidator("foo@example.com")
fooValidator.isValid    // true

val barValidator = EmailValidator("barexample.com")
barValidator.isValid    // false

Installation

dependencies {
    compile 'com.worlddowntown.emailvalidator:emailvalidator:1.0.0'
}

repositories {
    maven { url 'http://raw.github.com/WorldDownTown/EmailValidator/master/repository/' }
}

Author

WorldDownTown, WorldDownTown@gmail.com

License

EmailValidator is available under the MIT license. See the LICENSE file for more info.

About

String validator made of Kotlin to check email or not.

License:MIT License


Languages

Language:Kotlin 56.5%Language:Java 43.5%