1.0.7 • Published 5 years ago

xanthe v1.0.7

Weekly downloads
24
License
MIT
Repository
github
Last release
5 years ago

Xanthe is a simple format validator library

Content

This library contains a set of functions to validate the following commons data entries

  • an email address
  • an IP V4 address

Xanthe means “golden” or “yellow” in Greek. Xanthe is an exotic epithet of Demeter, goddess of the harvest and agriculture.

HOW TO

Install

yarn add xanthe

Use

import { isEmail, isIPv4 } from "xanthe"

const email = "tom@perdu.com"
console.log(isEmail(email))

const ip = "192.168.X.0"
console.log(isIPv4(ip))

LICENCE

MIT

Authors

Elitizon Ltd

1.0.7

5 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.1.0

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago