Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/pdehaan/gulp-csv2json

gulp plugin csv to json
https://github.com/pdehaan/gulp-csv2json

Last synced: 2 months ago
JSON representation

gulp plugin csv to json

Awesome Lists containing this project

README

        

# gulp-csv2json

[![Build Status](https://travis-ci.org/DataGarage/gulp-csv2json.png?branch=master)](https://travis-ci.org/DataGarage/gulp-csv2json)

gulp plugin convert csv to json

## Install

Install with [npm](https://npmjs.org/package/gulp-csv2json)

```
npm install --save-dev gulp-csv2json
```

## Example

```js
var gulp = require('gulp');
var csv2json = require('gulp-csv2json');
var rename = require('gulp-rename');

gulp.task('default', function () {
gulp.src('src/**/*.csv')
.pipe(csv2json())
.pipe(rename({extname: '.json'}))
.pipe(gulp.dest('dist'));
});
```

## API

### csv2json(option)

## License

MIT [@chilijung](http://github.com/chilijung)