
Product
Introducing Pull Request Stories to Help Security Teams Track Supply Chain Risks
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
koa-legacy-atatus
Advanced tools
Koa middleware to allow Atatus monitor Koa 1.x applications like Express.
npm install koa-legacy-atatus
You must add the koa-atatus middleware to every koa router instance before defining the routes.
var atatus = require("atatus-node");
atatus.start({
apiKey: 'YOUR_API_KEY',
});
var koaAtatus = require('koa-legacy-atatus')(atatus);
var Koa = require('koa'),
Router = require('koa-router');
var app = new Koa();
var router = new Router();
router.use(koaAtatus); // This line should be added for every router instance.
// Routes
router.get('/', function *(next) {...});
// For error capturing
app.on('error', (err, ctx) => {
atatus.notifyError(err);
});
app.use(router.routes());
app.listen(3000);
Copyright (c) 2018 Atatus
Licensed under the MIT license.
FAQs
Koa middleware to allow Atatus monitor Koa 1.x applications
We found that koa-legacy-atatus 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.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.