Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

grunt-log-headers

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-log-headers

Hide the running task name header in Grunt's logger.

latest
Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
63
1.61%
Maintainers
1
Weekly downloads
 
Created
Source

grunt-log-headers NPM Version

Hide the running task name header in Grunt's logger.

Getting Started

This plugin requires Grunt >=0.4

If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

npm install grunt-log-headers --save-dev

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

require('grunt-log-headers')(grunt);

There is no task

Overview

Unlike typical Grunt plugins, this one has no task. It's actually a hack that wraps a part of Grunt's core.

Note: Because of the nature of this plugin, complications may occur with any other similar "hacked" plugins.

Global Options

options.gruntLogHeader

Type: Boolean
Default value: true

Show the running task header or not. This can be applied to any task.

Usage Example

module.exports = function(grunt) {
  grunt.initConfig({
    sometask: {
      options: {
        gruntLogHeader: false,
      },
      sometarget1: {
        options: {
          gruntLogHeader: true,
        },
        …
      }
      sometarget2: {
        …
      },
    },
  });
  
  require('grunt-log-headers')(grunt);
  grunt.loadNpmTasks('sometask');
}

Release History

  • 1.0.2 supports grunt 1.x and npm 3.x
  • 1.0.1 package.json fixes
  • 1.0.0 release
  • 0.1.0 initial release

Keywords

grunt

FAQs

Package last updated on 21 Feb 2016

Did you know?

Socket

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