gulp-strip-docblock-pragmas

0.0.4 • Public • Published

gulp-strip-docblock-pragmas

Rewrites modules dependencies

Implementation

Uses jest-docblock to parsed the docblock and strip all pragmas (default) or those specified in options.

Options

pragmas: Array of pragmas to specifically strip. If not specified, defaults to stripping all pragmas from the docblock

Usage

Strip all pragmas

const stripPragmas = require('gulp-strip-docblock-pragmas');
gulp.pipe(stripPragms);

Strip select pragmas

const stripPragmas = require('gulp-strip-docblock-pragmas');
gulp
  .pipe(stripPragmas({pragmas: ['foo', 'bar']}));

Package Sidebar

Install

npm i gulp-strip-docblock-pragmas

Weekly Downloads

2

Version

0.0.4

License

MIT

Unpacked Size

2.39 kB

Total Files

4

Last publish

Collaborators

  • fb