gulp-js2flowchart
0.1.0 • Public • Published gulp-js2flowchart
A very basic gulp plugin wrapper for js2flowchart.
Usage
Install with NPM:
npm install --save gulp-js2flowchart
Consume in your gulpfile.js file:
const gulp = require('gulp');
const { plugin } = require('gulp-js2flowchart');
const rename = require('gulp-rename');
gulp.task('js-to-flow-chart', () => {
return src('./src/fileSystem.js')
.pipe(plugin())
.pipe(rename((path) => {
path.extname = '.svg';
}))
.pipe(dest('./output/'));
});
Refer to examples/gulpfile.js for more usage examples.
Package Sidebar
Install
Weekly Downloads