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.

/gulp-js2flowchart/

    Package Sidebar

    Install

    npm i gulp-js2flowchart

    Weekly Downloads

    0

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    24.1 kB

    Total Files

    11

    Last publish

    Collaborators

    • viglucci