Skip to content

vincentmuriuki/mpesaPhoneValidator

Repository files navigation

@muriukivincent/mpesaphonevalidator 👋

Version Documentation Maintenance License: MIT

A package that validates phone numbers you pass to the mpesa API

Install

npm install @muriukivincent/mpesaphonevalidator
or
yarn add @muriukivincent/mpesaphonevalidator

Usage

const phoneValidator = require('@muriukivincent/mpesaphonevalidator')

console.log(phoneValidator('254707656667'))

Run tests

npm run test

Author

👤 vincentmuriuki

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2022 vincentmuriuki.
This project is MIT licensed.


This README was generated with ❤️ by readme-md-generator