gulp-banner
A gulp plugin to insert a comment (or other string) at the top of the file.
Installation
npm install gulp gulp-banner --save-dev
Quick Start
var gulp = ;var banner = ;var pkg = ; var comment = '/*\n' + ' * <%= pkg.name %> <%= pkg.version %>\n' + ' * <%= pkg.description %>\n' + ' * <%= pkg.homepage %>\n' + ' *\n' + ' * Copyright 2015, <%= pkg.author %>\n' + ' * Released under the <%= pkg.license %> license.\n' + '*/\n\n'; gulp;
Testing
npm test
License
MIT, see the LICENSE file for detail.