
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
section-html
Advanced tools
This is a plugin for Section, a static site generator, which processes html underscore templates.
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
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.
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.
Initial version
FAQs
Section plugin for generating html by processing underscore templates.
We found that section-html demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.