
Product
A New Overview in our Dashboard
We redesigned Socket's first logged-in page to display rich and insightful visualizations about your repositories protected against supply chain threats.
mutation-testing-real-time
Advanced tools
Helpers to create a NodeJS server for real-time reporting for a mutation testing elements report
A NodeJS helper package to help with the server side of real-time reporting.
import { createServer } from 'http';
import { RealTimeReporter } from 'mutation-testing-real-time';
const reporter = new RealTimeReporter({ accessControlAllowOrigin: '*' });
const server = new createServer((req, res) => {
if (req.url === '/sse') {
reporter.add(res);
}
});
// Whenever a mutant result comes in:
reporter.sendMutantTested({ id: '1', status: 'Killed' });
// ...
// Whenever we are done:
reporter.sendFinished();
RealTimeReporter
RealTimeReporter.prototype.sendMutantTested
[(Partial<MutationTestResult>) => void
]RealTimeReporter.prototype.sendFinished
[() => void
]Event: 'client-connected'
client: MutationEventSender
Emitted each time a client connects to this real time reporter.
Event: 'client-disconnected'
client: MutationEventSender
Emitted each time a client disconnects from this real time reporter.
3.5.0 (2025-01-31)
FAQs
Helpers to create a NodeJS server for real-time reporting for a mutation testing elements report
The npm package mutation-testing-real-time receives a total of 14 weekly downloads. As such, mutation-testing-real-time popularity was classified as not popular.
We found that mutation-testing-real-time demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
We redesigned Socket's first logged-in page to display rich and insightful visualizations about your repositories protected against supply chain threats.
Product
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
Security News
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.