# csv2array

> Sync CSV parser.

Latest version **0.0.4** (published 2014-03-20) · BSD license · 0 weekly downloads

## Install

```sh
npm install csv2array
pnpm add csv2array
yarn add csv2array
bun add csv2array
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.4 |
| Published | 2014-03-20 |
| First published | 2012-10-22 |
| Weekly downloads | 0 |
| License | BSD |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Olivier Lalonde |
| Maintainers | olalonde |
| Keywords | csv, parser |

## Links

- npm: https://www.npmjs.com/package/csv2array
- Repository: git@github.com:olalonde/csv2array
- Issues: https://github.com/olalonde/csv2array/issues
- npm.io page: https://npm.io/package/csv2array

## Alternatives

- [babylon](https://npm.io/package/babylon.md) — 5.1M weekly downloads
- [csscolorparser](https://npm.io/package/csscolorparser.md) — 3.7M weekly downloads
- [expr-eval-fork](https://npm.io/package/expr-eval-fork.md) — 1.5M weekly downloads
- [@leeoniya/ufuzzy](https://npm.io/package/@leeoniya/ufuzzy.md) — 247.7K weekly downloads
- [xml-parser](https://npm.io/package/xml-parser.md) — 78.4K weekly downloads

## Recent versions

- 0.0.4 (latest) — 2014-03-20
- 0.0.3 — 2014-03-20
- 0.0.2 — 2014-03-20
- 0.0.1 — 2012-10-22

## README

Sync CSV parser.

# Install 

    npm install csv2array

# Usage 
    
    csv2array(csv_string, opts)

    opts.delimiter (string): value delimiter to use    
    opts.skipwhitespace (boolean): ignore whitespaces between commas

# Example

    var csv2array = require('csv2array');
    var arr = csv2array('"a", "b", "c"\n"d","e","f"');



# Credit 

Code taken from jquery.csv plugin.

---
_Source: https://npm.io/package/csv2array · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
