
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.
Combo your HTML files, make scripts(.js) and stylesheets(.css) inline.
There are 3 directives: inline, compress, remove, and support all HTML tags.
<link>, <style>, or <script>, it's accepted all 3 directives,compress and remove<!-- inline remote file only -->
<link data-combohtml="inline" rel="stylesheet" href="//example.com/index.css">
<!-- inline and compress local file -->
<script data-combohtml="inline,compress" src="./index.js"></script>
<!-- compress inline code -->
<style data-combohtml="compress">
div {
color: #000;
}
</style>
<script data-combohtml="compress">
function test (whatever) {
var one = 1
return one + whatever
}
</script>
<!-- remove test/mock tag -->
<script data-combohtml="remove">
mock = "the mock data in development environment"
</script>
<!-- compress html, maybe you'd like to add the directive to `<html>` or `<body>` tag -->
<div data-combohtml="compress">
whatever...
</div>
First, make sure your Node.js >= 4.
npm install combohtml
# process specified file
combohtml -i index.html -o dist.html
# process mutiple files
combohtml --input 'src/**/*.html' --output dist
-i, --input <input> Input file(s)
-o, --output <output> Output directory or file name
-r, --root [root] Files root path,
default to current working directory (process.cwd())
-a, --attr [attr] Specified attribute,
default to "data-combohtml"
FAQs
Combo your HTML files, make scripts(.js) and stylesheets(.css) inline.
We found that combohtml 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.