Libreria de procesamiento de archivos excel
- Source:
Methods
(inner) exportJSON(url, data) → {Promise.<string>}
- Source:
Exporta valores a JSON
Parameters:
Name | Type | Description |
---|---|---|
url |
string | path donde se exporta el archivo |
data |
* | datos a transformar a JSON |
Returns:
- Type
- Promise.<string>
(inner) generarLibroNotasExcel(url, data) → {Promise.<string>}
- Source:
Genera el libro de notas en formato excel
Parameters:
Name | Type | Description |
---|---|---|
url |
string | ruta que almacena el archivo |
data |
Array.<Object.<string, any>> |
Returns:
- Type
- Promise.<string>
(inner) readFileExcelNotes(url) → {Promise.<Array.<any>>}
- Source:
Lee un archivo excel y devuelve un array con sus hojas correspondientes
Parameters:
Name | Type | Description |
---|---|---|
url |
string | path a leer el archivo |
Returns:
- Type
- Promise.<Array.<any>>
(inner) readFileExcelProducts(url) → {Promise.<Array.<any>>}
- Source:
Lee un archivo excel y devuelve un array con sus hojas correspondientes
Parameters:
Name | Type | Description |
---|---|---|
url |
string | path a leer el archivo |
Returns:
- Type
- Promise.<Array.<any>>
(inner) writeFileExcel(url, data, nombreHojaopt) → {Promise.<string>}
- Source:
Exporta el archivo en formato excel
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
url |
string | path donde se exporta el archivo | ||
data |
* | informacion a mostrar en el excel | ||
nombreHoja |
string |
<optional> |
data
|
nombre de la hoja |
Returns:
- Type
- Promise.<string>