Socket
Book a DemoInstallSign in
Socket

gulp-jsvalidate

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-jsvalidate

Validate JavaScript code and report possible syntax errors

latest
Source
npmnpm
Version
6.1.0
Version published
Weekly downloads
2.9K
84.89%
Maintainers
1
Weekly downloads
 
Created
Source

gulp-jsvalidate

Validate JavaScript code and report possible syntax errors

The earlier you find syntax errors, the earlier you can fix them.

Install

npm install --save-dev gulp-jsvalidate

Usage

import gulp from 'gulp';
import jsValidate from 'gulp-jsvalidate';

export default () => (
	gulp.src('app.js')
		.pipe(jsValidate())
);

API

gulpJsValidate(options?)

options

Type: object

module

Type: boolean
Default: true

Parse the JavaScript code as a ES2015 module instead of a script.

Keywords

gulpplugin

FAQs

Package last updated on 12 Aug 2024

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