
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
harp-static
Advanced tools
Simple Harp.js static server.
With Harp.js, if you want your source content files to work as a static
generated site, then you must refer to urls using .html.
I don't like this.
So this script quite simply creates a static server (that caches assets), and
maps normal Harp urls (i.e. without an extension on .html) and maps them to
real files.
Now you can use non-static for development, and static for live (deployed to Heroku, etc).
Example of usage (and in fact, how I'm using harp-static):
'use strict';
var harp = require('harp');
var server = require('harp-static');
var outputPath = __dirname + '/www';
var port = process.env.PORT || 9000;
harp.compile(__dirname, outputPath, function (errors){
if (errors) {
console.log(JSON.stringify(errors, null, 2));
process.exit(1);
}
console.log('Running harp-static on ' + port);
server(outputPath, port);
});
FAQs
Simple static server for harp.js
We found that harp-static 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
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.