1.0.7 • Published 3 years ago

xanthe v1.0.7

Weekly downloads
24
License
MIT
Repository
github
Last release
3 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

3 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.1.0

4 years ago

0.0.12

4 years ago

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago