Socket
Book a DemoInstallSign in
Socket

node-test-parser

Package Overview
Dependencies
Maintainers
6
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-test-parser

Node.js test runner report stream parser

3.1.0
latest
Source
npmnpm
Version published
Weekly downloads
8.7K
20.52%
Maintainers
6
Weekly downloads
 
Created
Source

node-test-parser

CI NPM Version

Installation

npm i -D node-test-parser

Usage

Create a custom test reporter using the parser:

// reporter.js
import parseReport from 'node-test-parser'

export default async function* jsonReporter(source) {
  const report = await parseReport(source)
  yield JSON.stringify(report, null, 2)
}

Run tests using the custom reporter:

node --test --test-reporter ./reporter.js

banner

Keywords

test

FAQs

Package last updated on 20 Aug 2025

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.