Socket
Socket
Sign inDemoInstall

gulp-todos

Package Overview
Dependencies
87
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    gulp-todos

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


Version published
Weekly downloads
2
increased by100%
Maintainers
1
Install size
1.04 MB
Created
Weekly downloads
 

Readme

Source

gulp-every-todo

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

NPM Version NPM Downloads Dependencies Build Status

Parse all your files, and generate a todo.md

Install

Install with npm

npm install --save-dev gulp-todos

Example

var gulp = require('gulp');
var todo = require('gulp-todos');

gulp.task('default', function() {
    gulp.src('js/**/*.js')
        .pipe(todo())
        .pipe(gulp.dest('./'));
});

Options

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

formatter

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

  • human ()
  • robot

Example human output:

{
    "test/file0.js": {
        "line 0": "TODO: test"
    },
    "test/file1.js": {
        "line 0": "TODO: test"
    }
}

Example robot output:

{
    "test/file0.js": [
        {
            "line": 0,
            "type": "TODO",
            "value": "test"
        }
    ],
    "test/file1.js": [
        {
            "line": 0,
            "type": "TODO",
            "value": "test"
        }
    ]
}

License

MIT ©2014 Vsevolod Rodionov

Keywords

FAQs

Last updated on 16 Apr 2014

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc