Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
gulp-html2kissy
Advanced tools
Readme
html2kissy plugin for gulp
First, install gulp-html2kissy
as a development dependency:
npm install --save-dev gulp-ejs
Then, add it to your gulpfile.js
:
var html2kissy = require("gulp-html2kissy");
gulp.src("./templates/*.html")
.pipe(html2kissy({
package: "udata/views"
}))
.pipe(gulp.dest("./udata/views"));
If you want to use gulp-html2kissy
in a watch/livereload task, you may want to avoid gulp exiting on error when, for instance, a partial file is ENOENT
.
Here's an example on how to make it work:
var html2kissy = require('gulp-html2kissy');
var gutil = require('gulp-util');
gulp.src('./templates/*.html')
.pipe(html2kissy({
package: "udata/views"
}).on('error', gutil.log))
.pipe(gulp.dest('./udata/views'));
This will make gulp log the error and continue normal execution.
Type: hash
Default: {}
Type: hash
Default: {ext: '.html'}
A hash object to configure the plugin.
Type: String
Default: .html
Defines the default file extension that will be appended to the filename.
FAQs
transform html templates to kissy module.
The npm package gulp-html2kissy receives a total of 1 weekly downloads. As such, gulp-html2kissy popularity was classified as not popular.
We found that gulp-html2kissy demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.