gulp-email-encoder
v1.0.1
Published
Protect e-mail addresses in your HTML from bots
Downloads
2
Maintainers
Readme
gulp-email-encoder
Gulp wrapper for email-encoder
Install
$ npm install --save-dev gulp-email-encoder
Usage
const gulp = require('gulp');
const emailEncoder = require('gulp-email-encoder');
gulp.task('default', () => {
gulp.src('src/index.html')
.pipe(emailEncoder())
.pipe(gulp.dest('build'))
);
API
emailEncoder()
Replaces email addresses in the stream with their HTML entity-encoded counterparts
License
MIT © DecentM