Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sachin-philip/intl-phone-directory

☎️Simple library that helps in Identifing, validating and more for a given number
https://github.com/sachin-philip/intl-phone-directory

intl-tel-input jacascript typescript

Last synced: 14 days ago
JSON representation

☎️Simple library that helps in Identifing, validating and more for a given number

Awesome Lists containing this project

README

        

Intl Phone Directory ☎️



Version

Documentation


Maintenance


License: MIT

> ⚠️ INFO; Package is still under construction.
> Simple library that helps in identifing, validating and more for a given number

### 🏠 [Homepage](https://github.com/labtocat/intl-phone-directory#readme)

## Install

```sh
npm install intl-phone-directory
```

## Usage

```javascript

// 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

```sh
npm run test
```

## Author

👤 **Sachin Philip Mathew **

* Github: [@labtocat](https://github.com/labtocat)

## 🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check [issues page](https://github.com/labtocat/intl-phone-directory/issues).

## Show your support

Give a ⭐️ if this project helped you!



## 📝 License

Copyright © 2019 [Sachin Philip Mathew ](https://github.com/labtocat).

This project is [MIT](https://github.com/labtocat/intl-phone-directory/blob/master/LICENSE) licensed.

***

_This README was generated with ❤️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_