Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/pdehaan/gulp-csv2json
- Owner: pdehaan
- Created: 2014-03-03T07:50:03.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-03-03T07:51:47.000Z (almost 11 years ago)
- Last Synced: 2023-04-10T13:52:17.419Z (over 1 year ago)
- Language: JavaScript
- Size: 118 KB
- Stars: 1
- Watchers: 2
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)