hellas
TypeScript icon, indicating that this package has built-in type declarations

0.1.4 • Public • Published

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

Package Sidebar

Install

npm i hellas

Weekly Downloads

30

Version

0.1.4

License

MIT

Unpacked Size

12.8 kB

Total Files

6

Last publish

Collaborators

  • rowboat