Skip to content

Utilities such as Greek Tax ID, Greek Social Security Number, & Greek Postal Code validators

License

Notifications You must be signed in to change notification settings

treboryx/hellas

Repository files navigation

hellas

NPM version

Usage

npm i hellas
# or
yarn add hellas
# or
pnpm install hellas

isAfm

Greek Tax Identification Number Validator

Έλεγχος ορθότητας Α.Φ.Μ

import { isAfm } from "hellas";

isAfm("123456789"); // false

isAmka

Greek Social Security Number Validator

Έλεγχος ορθότητας Α.Μ.Κ.Α

import { isAmka } from "hellas";

isAmka("123456789"); // false

isPostalCode

Greek Postal Code Validator

import { isPostalCode } from "hellas";

isPostalCode("12333"); // true

isVehiclePlate

Greek Vehicle Plate Validator

import { isVehiclePlate } from "hellas";

isVehiclePlate("ΧΑΟ-2222"); // true

isPhone

Greek Phone Number Validator (mobile & landline)

import { isPhone } from "hellas";

isPhone("+30 694 123 4567"); // true

License

MIT License © 2022 Robert

About

Utilities such as Greek Tax ID, Greek Social Security Number, & Greek Postal Code validators

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published