2.0.2 • Published 10 years ago

gulp-humans v2.0.2

Weekly downloads
33
License
ISC
Repository
github
Last release
10 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

10 years ago

2.0.1

10 years ago

2.0.0

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

11 years ago

1.0.1

11 years ago

1.0.0

11 years ago