currency_contry_exchange 1.4.6 → 1.4.7
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.
- package/README.md +5 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -52,12 +52,8 @@ console.log(formattedCurrency);
|
|
|
52
52
|
|
|
53
53
|
| Method | Parameters | Return rate | Description |
|
|
54
54
|
|---|---|---|---|
|
|
55
|
-
| formaterCurrency(options) | contry: string, currency: number, typeCurrenzy: string | string | Formatea un valor monetario según el país y tipo de moneda especificados. <br> **Ejemplo:** formaterCurrency({ contry: 'chile', currency: 123456.78, typeCurrenzy: 'CLP' }) |
|
|
56
|
-
| formaterInputProps(options) | contry: string, typeCurrenzy: string | object | Devuelve un objeto con las propiedades de un input adaptado al país y tipo de moneda. Este metodo se usa con la libreria Numberformat |
|
|
57
|
-
| labels(optins) | contry: string, label:string | string | Devuelve un string |
|
|
58
|
-
| formaterAmount(optins) | contry:string, amount:number, typeCurrenzy:string | string | Devuelve un string con el monto formateado
|
|
59
|
-
| validateFormaterRut(optins) | contry:string rut:string isValidate:boolean typeCurrenzy:string | string o alerta | Devuelve un string si isValidate esta en true, por defecto retorna el rut formateado string
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
**Note:** Before publishing, run npm, commit the version and upload it to git, then change the versioning in the package.json
|
|
55
|
+
| formaterCurrency(options) | { contry: string, currency: number, typeCurrenzy: string } | string | Formatea un valor monetario según el país y tipo de moneda especificados. <br> **Ejemplo:** formaterCurrency({ contry: 'chile', currency: 123456.78, typeCurrenzy: 'CLP' }) |
|
|
56
|
+
| formaterInputProps(options) | { contry: string, typeCurrenzy: string } | object | Devuelve un objeto con las propiedades de un input adaptado al país y tipo de moneda. Este metodo se usa con la libreria Numberformat |
|
|
57
|
+
| labels(optins) | { contry: string, label:string } | string | Devuelve un string |
|
|
58
|
+
| formaterAmount(optins) | { contry:string, amount:number, typeCurrenzy:string } | string | Devuelve un string con el monto formateado
|
|
59
|
+
| validateFormaterRut(optins) | { contry:string rut:string isValidate:boolean typeCurrenzy:string } | string o alerta | Devuelve un string si isValidate esta en true, por defecto retorna el rut formateado string
|