gulp-boxen
This is useless plugin for wrapping your files's content to boxes. Uses boxen.
Installation
npm i gulp-boxen
Example
text.txt:
GULP-BOXEN
Gulpfile.coffee:
gulp = require 'gulp'boxen = require 'gulp-boxen' gulptask 'build' gulpsrc 'text.txt' pipe boxen padding: 3 margin: 2 borderStyle: "double" pipe gulpdest 'results' gulptask 'default' 'build'
or Gulpfile.js:
var gulp = ;var boxen = ; gulp; gulp;
Run:
gulp
Now results/text.txt is
╔════════════════════════════╗ ║ ║ ║ ║ ║ ║ ║ GULP-BOXEN ║ ║ ║ ║ ║ ║ ║ ╚════════════════════════════╝
API
See boxen's API.
License
MIT.