JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 102
  • Score
    100M100P100Q67526F
  • License MIT

A JavaScript complexity analysis gulp task

Package Exports

  • gulp-complexity

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gulp-complexity) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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