https://github.com/fredlackey/csv-contacts-parser
Extract Basic Contact Lists from CSV Files
https://github.com/fredlackey/csv-contacts-parser
Last synced: about 2 months ago
JSON representation
Extract Basic Contact Lists from CSV Files
- Host: GitHub
- URL: https://github.com/fredlackey/csv-contacts-parser
- Owner: FredLackey
- License: apache-2.0
- Created: 2024-10-16T09:11:43.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-10-24T14:47:54.000Z (7 months ago)
- Last Synced: 2025-03-27T02:47:10.890Z (about 2 months ago)
- Language: JavaScript
- Size: 31.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# csv-contacts-parser
Extract Basic Contact Lists from CSV Files
## Installation
```bash
npm install csv-contacts-parser
```## Usage
```javascript
const csvContacts = require('csv-contacts-parser');const json = await csvContacts.parse({
path: 'path/to/csv/file.csv'
});
```## Options
- `path` (string, required): Path to the CSV file.
## Output
The output is a JSON object with the following structure:
```json
{
"path": "path/to/csv/file.csv",
"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](https://fredlackey.com)
[[email protected]](mailto:[email protected])