Socket
Socket
Sign inDemoInstall

grunt-html-improved

Package Overview
Dependencies
97
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    grunt-html-improved

Grunt plugin for html-improved


Version published
Weekly downloads
2
increased by100%
Maintainers
1
Install size
180 kB
Created
Weekly downloads
 

Readme

Source

grunt-html-improved npm package

Grunt plugin for html-improved

Sample Project

html-improved-sample

htmlImproved task

Run this task with the grunt htmlImproved command.

Task targets, files and options may be specified according to the grunt Configuring tasks guide.

Options

defaultVars

Type: Object|Function

Sets the variables passed to Html Improved during template compilation. Any data can be passed to the template.

options: {
    defaultVars: {
        package: require('./package.json'),
        project: require('./project.json'),
        otherVar: 'value'
    }
}

This value also might be a function.

options: {
    defaultVars: function() {
        return {
            package: require('./package.json'),
            project: require('./project.json'),
            otherVar: 'value'
        };
    }
}

Keywords

FAQs

Last updated on 12 Nov 2019

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