You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

gulp-csv2json

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-csv2json

csv to json using gulp

0.2.5
latest
npm
Version published
Weekly downloads
431
-10.02%
Maintainers
1
Weekly downloads
 
Created
Source

gulp-csv2json

Build Status

gulp plugin convert csv to json

Install

Install with npm

npm install --save-dev gulp-csv2json

Example

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

gulp.task('default', function () {

var csvParseOptions = {}; //based on options specified here : http://csv.adaltas.com/parse/

	gulp.src('src/**/*.csv')
		.pipe(csv2json(csvParseOptions))
		.pipe(rename({extname: '.json'}))
		.pipe(gulp.dest('dist'));
});

API

csv2json(option)

License

MIT @chilijung

Keywords

gulp

FAQs

Package last updated on 22 Sep 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts