
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
With this plugin, Polvo can handle HTML source files.
You won't need to install it since it comes built in in Polvo.
Enjoy.
Just put your .html or .htm files in your input dirs and it will be
ready for use.
Templates are compiled to strict CJS modules, to require them just use the well known CJS pattern, more info here.
The same resolution algorithm presented in NodeJS will be used.
template = require './your/html/template'
dom = template()
console.log dom
# append it to your document, i.e:
# $('body').append dom
There's a built in support for partials in your html files.
Every file starting with _ won't be compiled alone. Instead, if some other
file that doesn't start with _ imports it, it will be compiled within it.
The import tag follows the basic SSI specification.
To include a partial in your html, just:
_<!--#include file="_partial-name-here" -->
Partials are referenced relatively.
FAQs
HTML plugin for Polvo
We found that polvo-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
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.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.