
Product
Introducing Supply Chain Attack Campaigns Tracking in the Socket Dashboard
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.
Etag support for Koa responses using etag.
# npm
$ npm install koa-etag
# yarn
$ yarn add koa-etag
const conditional = require('koa-conditional-get');
const compress = require('koa-compress');
const etag = require('koa-etag');
const Koa = require('koa');
const app = new Koa();
// must be used before `conditional` and `etag`
app.use(compress());
// etag works together with conditional-get
app.use(conditional());
app.use(etag());
app.use(function (ctx) {
ctx.body = 'Hello World';
});
app.listen(3000);
console.log('listening on port 3000');
FAQs
Koa ETag support middleware
The npm package @koa/etag receives a total of 4,177 weekly downloads. As such, @koa/etag popularity was classified as popular.
We found that @koa/etag demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 9 open source maintainers 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.

Product
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.

Research
Malicious PyPI package sympy-dev targets SymPy users, a Python symbolic math library with 85 million monthly downloads.

Security News
Node.js 25.4.0 makes require(esm) stable, formalizing CommonJS and ESM compatibility across supported Node versions.