🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

gulp-checkdomain

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-checkdomain

checkDomain

latest
Source
npmnpm
Version
0.0.4
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

gulp小插件

由于项目开发中(我自己太马虎)偶尔存在写死域名,测试中很难被发现,导致上线后出错,所以写了个检查自定义写死域名的小插件 ##demo

var gulpCheckDomain = require('gulp-checkdomain');
var checkDomain = ['www.baidu.com','www.taobao.com'];
gulp.task('checkdomain', function() {
    return gulp.src('./*.js')
        .pipe(gulpCheckDomain(checkDomain))
});

FAQs

Package last updated on 13 Dec 2016

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