gulp-excelsheets2json

Excel Sheets (XLSX/XLS) to json


Keywords
gulp, gulpplugin, excel
License
MIT
Install
npm install gulp-excelsheets2json@1.1.0

Documentation

gulp-excelsheets2json

Excel Sheets (XLSX/XLS) to json.

Usage

First, install gulp-excelsheets2json as a development dependency:

> npm install --save-dev gulp-excelsheets2json

Then, add it to your gulpfile.js:

var excelsheets2json = require('gulp-excelsheets2json');

gulp.task('copy', function() {
    gulp.src('config/**.xlsx')
        .pipe(excel2json({
            trace: true
        }))
        .pipe(gulp.dest('build'))
});

API

excelsheets2json([options])

options.trace

Type: Boolean

Default: false

Whether to log each file path while convert success.

License

MIT © flomair