gulp-contribs

Give your open-source contributors some credit - automatically list them in your readme.md, or anywhere else.

Usage no npm install needed!

<script type="module">
  import gulpContribs from 'https://cdn.skypack.dev/gulp-contribs';
</script>

README

gulp-contribs Build Status

Give your open-source contributors some credit - automatically list them in your readme.md, or any where else.

Usage

Install it locally to your project.

npm install gulp-contribs

Example

With no parameters, the default start and end points (## Contributors & ## License) will be used. Check this example

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

gulp.task('contribs', function () {
    gulp.src('README.md')
        .pipe(contribs())
        .pipe(gulp.dest("./"))
});

Configure

To configure where abouts in your file you want to 'wedge' the contributors list, just pass start and end strings like this.

Example: If you want the list to be wedged in between ## Contributors List and ## License in your files, you'd do it like this.

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

gulp.task('contribs', function () {
    gulp.src('README.md')
        .pipe(contribs("## Contributors List", "## License"))
        .pipe(gulp.dest("./"))
});

License

Copyright (c) 2013 Shane Osbourne Licensed under the MIT license.