Skip to content

Commit e095488

Browse files
committed
feat: isPhone
1 parent 4152e05 commit e095488

File tree

13 files changed

+507
-430
lines changed

13 files changed

+507
-430
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,16 @@ import { isVehiclePlate } from "hellas";
5656
isVehiclePlate("ΧΑΟ-2222"); // true
5757
```
5858

59+
## isPhone
60+
61+
Greek Phone Number Validator (mobile & landline)
62+
63+
```js
64+
import { isPhone } from "hellas";
65+
66+
isPhone("+30 694 123 4567"); // true
67+
```
68+
5969
## License
6070

6171
[MIT](./LICENSE) License © 2022 [Robert](https://github.com/treboryx)

build.config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { defineBuildConfig } from "unbuild";
22

33
export default defineBuildConfig({
4-
entries: ["src/index", "src/validators/index"],
54
declaration: true,
65
clean: true,
76
rollup: {

0 commit comments

Comments
 (0)