1.3.0 • Published 8 years ago
gulp-excelsheets2json v1.3.0
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 excel2json = 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