Socket
Book a DemoInstallSign in
Socket

grunt-html2jade

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-html2jade

Convert HTML to JADE.

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

grunt-html2jade build-status

Convert HTML to JADE.

How to use this?

npm install grunt-html2jade --save-dev

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

grunt.loadNpmTasks('grunt-html2jade');

The "html2jade" task

Overview

In your project's Gruntfile, add a section named html2jade to the data object passed into grunt.initConfig().

grunt.initConfig({
  html2jade: {
    options: {
      // Task-specific options go here.
    },
    your_target: {
      // Target-specific file lists and/or options go here.
    },
  },
});

Options

{
        double:true,
        numeric:false,
        scalate:false,
        nspaces:2,
        tabs:false,
        donotencode:false,
        bodyless:false,
}

Read more about the options.

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.

Keywords

gruntplugin

FAQs

Package last updated on 05 Apr 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