# nk-csv-stream

> Load and parse a CSV file

Latest version **1.0.0** (published 2014-12-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install nk-csv-stream
pnpm add nk-csv-stream
yarn add nk-csv-stream
bun add nk-csv-stream
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2014-12-07 |
| First published | 2014-12-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Antoine Lehurt |
| Maintainers | kewah |
| Keywords | browser, csv, stream, xhr |

## Links

- npm: https://www.npmjs.com/package/nk-csv-stream
- Repository: https://github.com/nk-components/nk-csv-stream
- Issues: https://github.com/nk-components/nk-csv-stream/issues
- npm.io page: https://npm.io/package/nk-csv-stream

## Dependencies (2)

- [component-emitter](https://npm.io/package/component-emitter.md) ^1.1.3
- [buffered-xhr-stream](https://npm.io/package/buffered-xhr-stream.md) ^0.1.4

## Alternatives

- [@sapphire/ratelimits](https://npm.io/package/@sapphire/ratelimits.md) — 4.4K weekly downloads
- [js-csvparser](https://npm.io/package/js-csvparser.md) — 2.0K weekly downloads
- [@adadapted/js-sdk](https://npm.io/package/@adadapted/js-sdk.md) — 251 weekly downloads
- [@grapecity/spread-sheets-sparklines](https://npm.io/package/@grapecity/spread-sheets-sparklines.md) — 103 weekly downloads
- [@1selfworld/adchain-sdk-react-native](https://npm.io/package/@1selfworld/adchain-sdk-react-native.md) — 80 weekly downloads

## Recent versions

- 1.0.0 (latest) — 2014-12-07

## README

# nk-csv-stream

Load and parse a CSV file.

## Install

With [npm](http://npmjs.org) do:

```bash
$ npm install nk-csv-stream --save-dev
```

## Usage

```js
var CsvStream = require('nk-csv-stream');
var stream = new CsvStream();

stream.on('data', function(row, head) {
  if (head) return;

  // Do something with the row.
});

stream.once('end', function() {
  stream.dispose();
});

stream.open('https://url.com/to/file.csv');
```

## API

#### `.open(url)`

#### `.dispose()`

## License

MIT

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