
Research
SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.
todomvc-api
Advanced tools
Validate your TodoMVC backend.
TodoMVC API contains the apiblueprint spec and a dredd wrapper to run validation tests against TasteStack TodoMVC backends.
$ npm install --save-dev todomvc-api
var todomvc = require('todomvc-api');
gulp.task('test', function(done) {
// Start your API server.
var server = app.listen(8080, function() {
// Run the TodoMVC validation test suite.
todomvc.validate(function(err, stats) {
// Shut down the server & pass a helpful message to Gulp.
server.close(function() {
if (stats && (stats.errors || stats.failures)) {
done('api validation failed');
return;
}
done(err);
});
});
});
});
Stringhttp://localhost:8080The base location to ping your API.
FunctionThis callback is executed with the results of our test suite against your API server.
FAQs
Validate your TodoMVC backend
We found that todomvc-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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.

Research
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.

Company News
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.

Security News
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.