gulp-excelsheets2json

1.3.0 • Public • Published

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

/gulp-excelsheets2json/

    Package Sidebar

    Install

    npm i gulp-excelsheets2json

    Weekly Downloads

    0

    Version

    1.3.0

    License

    MIT

    Last publish

    Collaborators

    • flomair