gulp-complexity

0.3.2 • Public • Published

gulp-complexity

Analize the complexity and maintainability of code

Twin brother of grunt-complexity task

Install

npm install --save-dev gulp-complexity

Example

var gulp = require('gulp'),
	complexity = require('gulp-complexity');

gulp.task('default', function(){
	return gulp.src('*.js')
		.pipe(complexity());
});

Options

Bool breakOnErrors - Fail the task when files or functions are too complex. Default: true

License

MIT License (c) Alexey Raspopov

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.3.2
    71
    • latest

Version History

Package Sidebar

Install

npm i gulp-complexity

Weekly Downloads

88

Version

0.3.2

License

MIT

Last publish

Collaborators

  • alexeyraspopov