xlsx-contacts-parser
v1.0.1
Published
Extract Basic Contact Lists from Excel Files
Downloads
22
Maintainers
Readme
xlsx-contacts-parser
Extract Basic Contact Lists from Excel Files
Installation
npm install xlsx-contacts-parser
Usage
const xlsxToJson = require('xlsx-to-json-parser');
const json = await xlsxToJson({
path: 'path/to/excel/file.xlsx',
password: 'SuperSecretPassword',
});
Options
path
(string, required): Path to the Excel file.password
(string, optional): Password to open the Excel file.
Output
The output is a JSON object with the following structure:
{
"path": "path/to/excel/file.xlsx",
"lists": [
{
"name": "List 1",
"contacts": [
{
"email": "[email protected]",
"name": "Joe Blow"
},
{
"email": "[email protected]",
"name": "Mike Smith"
}
]
}
]
}
Contact Information
If you ever need a hand or have any questions, feel free to reach out.
Fred Lackey
https://fredlackey.com
[email protected]