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-angular-htmlify
Advanced tools
Readme
Change your ng-attributes to data-ng-attributes for HTML5 validation using angular-html5
Issues with the output should be reported on the angular-html5 issue tracker.
Install with npm
npm install --save-dev gulp-angular-htmlify
var gulp = require('gulp');
var htmlify = require('gulp-angular-htmlify');
//simple usage
gulp.task('htmlify', function() {
gulp.src('public/**/*.html')
.pipe(htmlify())
.pipe(gulp.dest('build/'));
});
//using jade as a pre-processer
gulp.task('htmlify', function() {
gulp.src('partials/**/*.jade')
.pipe(jade())
.pipe(htmlify())
.pipe(gulp.dest('build/'));
});
//Also transforming ui-attributes to data-ui-attributes
gulp.task('htmlify', function() {
gulp.src('public/**/*.html')
.pipe(htmlify({
customPrefixes: ['ui-']
}))
.pipe(gulp.dest('build/'));
});
See the angular-html5
options
Type: Boolean
Default: false
Whether to log files that had ng-directives detected and replaced. (Useful for debugging).
Example usage:
//...
.pipe(htmlify({
verbose: true
}))
// --> [gulp] Found and replaced ng-directives in index.html
//...
MIT @Gilad Peleg
FAQs
Change your ng-attributes to data-ng-attributes for HTML5 validation
The npm package gulp-angular-htmlify receives a total of 989 weekly downloads. As such, gulp-angular-htmlify popularity was classified as not popular.
We found that gulp-angular-htmlify 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.