test262 Parser

JSON →
library 2.2.0 ·javascript
verified May 27, 2026

test262-parser is a JavaScript library engineered to parse and extract structured information from test files adhering to the test262 format, as defined by TC39 for ECMAScript conformance testing. As of version 2.2.0, the package provides a stable API for programmatically accessing the various components of a test file. It can efficiently extract YAML frontmatter (which contains test attributes like description and author), copyright messages, the asynchronous status of the test, and the main executable test body from a given input, whether it's a raw string of file contents or a file object. The library offers both a direct parsing function (`parseFile`) suitable for individual test contents and a transform stream interface for processing multiple files in a streaming fashion. Its primary differentiator lies in its specialized focus on the intricacies of the test262 file format, delivering a highly structured representation of the frontmatter and core content, making it an essential utility for tools involved in the analysis, transformation, or execution of ECMAScript conformance tests.

total hits 14
actors 5 distinct systems
last hit 1d ago human
GPTBot
5
MetaBot
3
Script
1
Search engines
1
Humans
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France · 🇮🇹 Italy