bemtools__gulp-extract-html-class:从html中提取所有类

时间:2024-05-22 16:57:33
【文件属性】:

文件名称:bemtools__gulp-extract-html-class:从html中提取所有类

文件大小:6KB

文件格式:ZIP

更新时间:2024-05-22 16:57:33

JavaScript

从html中提取所有类 安装 npm install @ bemtools / gulp-extract-html-class-保存 样例gulpfile.js 该文件将使您了解插件的功能。 const gulp = require ( 'gulp' ) ; const extractClass = require ( '@bemtools/gulp-extract-html-class' ) ; const through = require ( 'through2' ) ; function logClasses ( ) { let PLUGIN_NAME = 'logClasses' ; return through . obj ( function ( file , enc , cb ) { if ( ! file . contents . l


【文件预览】:
bemtools__gulp-extract-html-class-master
----.gitignore(38B)
----package.json(603B)
----LICENSE.md(1KB)
----.travis.yml(37B)
----index.js(1KB)
----README.md(1KB)
----errors.js(289B)
----test()
--------empty.html(0B)
--------not_html.txt(274B)
--------test.js(2KB)
--------has.html(274B)
--------has_no.html(175B)

网友评论