1.0.7 • Published 4 years ago

xanthe v1.0.7

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

4 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.1.0

5 years ago

0.0.12

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago