gulp-convert

0.2.0 • Public • Published

gulp-convert NPM version Build status

Work In Progress

This plugin is not completely ready yet.

Usage

First, install gulp-convert as a development dependency:

npm install --save-dev gulp-convert

Then, add it to your gulpfile.js:

var convert = require('gulp-convert');
 
gulp.task('csv2json', function(){
  gulp.src(['data/csv/*.csv'])
    .pipe(convert({
      from: 'csv',
      to: 'json'
     }))
    .pipe(gulp.dest('data/json/'));
});

API

convert(options)

options.from

Type: String
Default: csv

File type converting from.

options.to

Type: String
Default: json

File type converting to.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.0
    69
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.2.0
    69
  • 0.1.0
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i gulp-convert

Weekly Downloads

69

Version

0.2.0

License

none

Last publish

Collaborators

  • jonschlinkert
  • doowb