2.0.2 • Published 8 years ago

gulp-humans v2.0.2

Weekly downloads
33
License
ISC
Repository
github
Last release
8 years ago

gulp-humans Build Status

Humans.txt generator for Gulp. Simple wrapper around humans-generator. Requires Node 4+. Installed through NPM with:

npm install gulp-humans --save-dev

Check out humans-generator for example options. This module scans your HTML for <meta name="author" />. Example usage:

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

gulp.task('default', function () {
    gulp.src('index.html')
        .pipe(humans({
            thanks: [
                'Node (@nodejs on Twitter)',
                'Gulp (@gulpjs on Twitter)'
            ],
            site: [
                'Standards: HTML5, CSS3',
                'Components: jQuery, Normalize.css',
                'Software: Atom'
            ],
            note: 'Built with love by Hayden Bleasel.'
        }))
        .pipe(gulp.dest('dist/'));
});

If you need an ES5 build for legacy purposes, just require the ES5 file:

var humans = require('gulp-humans/es5');

To build the ES5 version, run the following and remember to require the ES5 version.

npm install -g babel-cli
babel --presets es2015 index.js --out-file es5.js
2.0.2

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago