New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

section-html

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

section-html

Section plugin for generating html by processing underscore templates.

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

section-html

This is a plugin for Section, a static site generator, which processes html underscore templates.

Getting Started

This plugin requires the ~0.1.0 version of the grunt-section plugin.

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. You may install this plugin with this command:

npm install section-html --save

Options

This plugin introduces a number of new options that can be set on the grunt-section configuration object inside the Gruntfile.js file. Here’s a simple example of how that file might look like:

grunt.initConfig({
  section: {
    target: {
      options: {
        template: 'path/to/template.html'
      },
      src: 'input/directory/',
      dest: 'output/directory/'
    },
  },
});

template (required)

type: String default: undefined

The path to an underscore template file must be provided.

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.

Release History

v0.1.0

Initial version

Keywords

sectionplugin

FAQs

Package last updated on 29 Oct 2013

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