or run

npx @tessl/cli init
Log in

Version

Files

tile.json

tessl/npm-jsx-ast-utils

AST utility module for statically analyzing JSX

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
npmpkg:npm/jsx-ast-utils@3.3.x

Performance

Overall agent performance with this tile

50%

Improvement

Performance improvement when using this tile compared to baseline

↑ 15%

Baseline

Agent performance without this tile

35%

To install, run

npx @tessl/cli install tessl/npm-jsx-ast-utils@3.3.0

Assessment results

Generated

Agent Claude Code

Scenario 1

Gracefully handle unknown expression node types by logging and returning null instead of throwing

-27%

Scenario 2

Extract JSX attribute names with namespace support

55%

Scenario 3

Resolve JSX element type including members, namespaces, and fragments

14%

Scenario 4

Evaluate prop values to JavaScript equivalents for common literals, JSX, and expressions

12%

Scenario 5

Reconstruct arrays, objects, spreads, bind expressions, and new expressions into representative structures

-12%

Scenario 6

Literal-only prop value extraction that filters out non-primitive expressions

-5%

Scenario 7

Reference canonical JSX event handler prop lists (flat and grouped)

0%

Scenario 8

Support optional chaining, optional calls, and TypeScript non-null assertions or casts in value extraction

10%

Scenario 9

Check for required props (single/any/all) with case-insensitive and spread-aware options

100%

Scenario 10

Retrieve JSX attributes directly or from object-literal spreads

-2%