@wuilmerj24/country-code 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +15 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,12 +1,26 @@
1
+ <a href="https://www.npmjs.com/package/@wuilmerj24/country-code">
2
+ <img src="https://img.shields.io/npm/dt/@wuilmerj24/country-code.svg?label=npm%20downloads" alt="npm">
3
+ </a>
4
+
1
5
  # @wuilmerj24/country-code
2
6
 
7
+ ### Instalation
3
8
  ```javascript
4
9
  npm install @wuilmerj24/country-code
5
10
  ```
6
11
 
12
+
7
13
  ## Usage
8
14
 
9
- // TODO
15
+ ## API
16
+
17
+ ## Methods
18
+
19
+ | Method | Description |
20
+ | ------ | ----------- |
21
+ | getCurrentPais(addPlus:boolean) | Returns a Promise country, code, numCell (numCell only for Android). |
22
+ | listaCodigos | Returns an array with the countries' name, name, nom, iso2, iso3, code, flag. |
23
+ | showListPaises | Open a modal with a search box and a list of countries. Returns the selected item. |
10
24
 
11
25
  ## License
12
26
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wuilmerj24/country-code",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Add a plugin description",
5
5
  "main": "index",
6
6
  "types": "index.d.ts",