npm.io
0.0.2 • Published 9 years ago

gulp-emojify

Licence
MIT
Version
0.0.2
Deps
4
Vulns
0
Weekly
0
Stars
4

gulp-emojify

Build Status

Add emoji/s to your message/s.

Install

$ npm install --save-dev gulp-emojify

Usage

var gulp = require('gulp');
var emojify = require('gulp-emojify');

gulp.task('default', function () {

	gulp.src('index.js', {
		base: './'
	})
	.pipe(emojify('All good. Go drink a :beer:'));
});

emojify

var gulp = require('gulp');
var emojify = require('gulp-emojify');

gulp.task('default', function () {

	gulp.src('index.js', {
		base: './'
	})
	.pipe(plumber({
		errorHandler: emojify.onError('Error: Grab some :coffee: and fix it!')
	}))
	.pipe(emojify(null))
	.pipe(emojify('All good. Go drink a cup of :beer:'));
});

emojify

API

emojify(options)
options

None.

License

MIT Pedro Sampaio

Keywords