Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gulp-jsinspect

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-jsinspect

Gulp plugin for running jsinspect (detect copy-pasted and structurally similar code)

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
11
decreased by-78.43%
Maintainers
2
Weekly downloads
 
Created
Source

gulp-jsinspect

Gulp plugin for running jsinspect (detect copy-pasted and structurally similar code)

Install

$ npm install --save-dev gulp-jsinspect

Usage

var gulp = require('gulp');
var jsinspect = require('gulp-jsinspect');

gulp.task('default', function () {
  return gulp.src('app.js')
    .pipe(jsinspect({
      'threshold':   10,
      'identifiers': true,
      'suppress':    0
    }));
});

Options

threshold

Type: Number Default value: 15

Number of nodes.

suppress

Type: Number Default value: 100

length to suppress diffs (off: 0).

identifiers

Type: Boolean Default value: false

Match identifiers.

noDiff

Type: Boolean Default value: false

Disables 2-way diffs.

noColor

Type: Boolean Default value: false

Disables colors.

failOnMatch

Type: boolean Default value: true

Keywords

FAQs

Package last updated on 06 May 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc