# jquery/esprima

ECMAScript parsing infrastructure for multipurpose analysis

Repository: https://github.com/jquery/esprima
Canonical: https://ross.abutalabs.com/products/esprima
Homepage: http://esprima.org
Language: TypeScript
License: BSD-2-Clause
License Family: permissive
Topics: esprima, ecmascript, parsing, javascript, ast, parser
Last push: 2023-04-16T01:17:08+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5397, "days_push": 1236, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 7139, forks 772 (observed 2026-08-28T04:09:56.166776+00:00)

## What it is
Esprima is a high-performance, standard-compliant ECMAScript (JavaScript) parser written in TypeScript/JavaScript, producing ESTree-format ASTs and supporting tokenization. It supports ECMAScript 2019 with experimental JSX support and optional node location tracking.

## Use cases
- parse javascript source code into an ast
- tokenize js code for lexical analysis
- build a javascript linter or static analysis tool
- transform or rewrite javascript code via its syntax tree
- analyze jsx syntax in react code
- extract code structure for autocomplete or visualization

## When to choose
- you need a mature, heavily tested, standard-compliant JS parser with ESTree output
- you need tokenization as well as parsing
- you need node location info (line-column and index)
- your target is ECMAScript 2019 or earlier

## When to avoid
- you need support for the latest ECMAScript features beyond ES2019
- you need robust JSX or TypeScript parsing in production
- you want an actively evolving parser with frequent updates

## Facets
- artifact type: library
- maturity: maintenance
- function: parser, developer-tools
- domain: parsers, programming-languages, developer-tools
- platform: browser, cross-platform
- tags: javascript, ast, ecmascript, tokenizer, estree, static-analysis, jsx, nodejs

## Member repositories
- jquery/esprima (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:56.166776+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:40:02.320620+00:00, confidence not recorded.
  - readme: https://github.com/jquery/esprima (fetched 2026-08-28T04:09:56.166776+00:00, sha 0cfd468632ff)
  - homepage: http://esprima.org (fetched 2026-08-29T08:35:46.164943+00:00, sha 9def5d27f076)
  - registry_npm: https://registry.npmjs.org/esprima (fetched 2026-08-29T08:35:46.175900+00:00, sha 24287c9a81c9)
  - site_page: https://esprima.org/doc/index.html (fetched 2026-08-29T08:35:46.174054+00:00, sha ca37d145cdda)
- Data as of 2026-08-30T08:39:29.467469+00:00.
