gulp-todos

Generate a TODO.md file from all your project files TODOs and FIXMEs

gulp-every-todo

Generate a TODO.md file from ALL your project todos and fixmes

Parse all your files, and generate a todo.md

Install with npm

npm install --save-dev gulp-todos
var gulp = require('gulp');
var todo = require('gulp-todos');
 
gulp.task('default', function() {
    gulp.src('js/**/*.js')
        .pipe(todo())
        .pipe(gulp.dest('./'));
});

Options can be passed along as an object containing the following fields:

{String} - specify the formatter type. defaults to human. Available options:

  • human ()
  • robot
{
    "test/file0.js": {
        "line 0": "TODO: test"
    },
    "test/file1.js": {
        "line 0": "TODO: test"
    }
}
{
    "test/file0.js": [
        {
            "line": 0,
            "type": "TODO",
            "value": "test"
        }
    ],
    "test/file1.js": [
        {
            "line": 0,
            "type": "TODO",
            "value": "test"
        }
    ]
}

MIT ©2014 Vsevolod Rodionov