intl-phone-directory
v0.0.2
Published
International Phone Directory, which contains info about country code, validation etc..
Downloads
5
Maintainers
Readme
International Phone Directory, which contains info about country code, validation etc..
🏠 Homepage
Install
npm install intl-phone-directory
Usage
// es5
const getTelephoneInfo = require(intl-phone-directory)
// es6/es7
import getTelephoneInfo from 'intl-phone-directory';
// typescript
import * as getTelephoneInfo from 'intl-phone-directory';
getTelephoneInfo('Vietnam') //{"code": "VN", "dialCode": "84", "name": "Vietnam"}
Run tests
npm run test
Author
👤 Sachin Philip Mathew [email protected]
- Github: @labtocat
🤝 Contributing
Contributions, issues and feature requests are welcome!Feel free to check issues page.
Show your support
Give a ⭐️ if this project helped you!
📝 License
Copyright © 2019 Sachin Philip Mathew [email protected]. This project is MIT licensed.
This README was generated with ❤️ by readme-md-generator