An open API service indexing awesome lists of open source software.

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

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])