Skip to content

Commit

Permalink
feat: isPhone
Browse files Browse the repository at this point in the history
  • Loading branch information
treboryx committed Apr 6, 2023
1 parent 4152e05 commit e095488
Show file tree
Hide file tree
Showing 13 changed files with 507 additions and 430 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,16 @@ import { isVehiclePlate } from "hellas";
isVehiclePlate("ΧΑΟ-2222"); // true
```

## isPhone

Greek Phone Number Validator (mobile & landline)

```js
import { isPhone } from "hellas";

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

## License

[MIT](./LICENSE) License © 2022 [Robert](https://github.com/treboryx)
1 change: 0 additions & 1 deletion build.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { defineBuildConfig } from "unbuild";

export default defineBuildConfig({
entries: ["src/index", "src/validators/index"],
declaration: true,
clean: true,
rollup: {
Expand Down
Loading

0 comments on commit e095488

Please sign in to comment.