Tattoo your code with image-ascii and license A great way to brand you code and add project wide comments to your code
$ npm install --save-dev gulp-tattoo
var asciiArt = '
_____ _ _______ _ _ \n\
/ ____| | | |__ __| | | | | \n\
| | __ _ _| |_ __ ______| | __ _| |_| |_ ___ ___ \n\
| | |_ | | | | | '_ \______| |/ _` | __| __/ _ \ / _ \ \n\
| |__| | |_| | | |_) | | | (_| | |_| || (_) | (_) | \n\
\_____|\__,_|_| .__/ |_|\__,_|\__|\__\___/ \___/ \n\
| | \n\
|_| \n\
';
var gulp = require('gulp');
var tattoo = require('gulp-tattoo');
gulp.task('default', function () {
return gulp.src('src/index.html')
.pipe(tattoo(asciiArt))
.pipe(gulp.dest('dist'));
});
var gulp = require('gulp');
var tattoo = require('gulp-tattoo');
var asciiArt = fs.readFileSync('header.txt', 'utf8')
gulp.task('default', function () {
return gulp.src('src/index.html')
.pipe(tattoo(asciiArt))
.pipe(gulp.dest('dist'));
});
var gulp = require('gulp');
var tattoo = require('gulp-tattoo');
// Get contents from package.json to use in the tempate
var pkg = require('./package.json');
var asciiArt = fs.readFileSync('header.txt', 'utf8'), { pkg : pkg } )
gulp.task('default', function () {
return gulp.src('src/index.html')
.pipe(tattoo(asciiArt))
.pipe(gulp.dest('dist'));
});
Type: boolean
Default: false
Lorem ipsum.
MIT © Jon Nordling