# @chevrotain/cst-dts-gen

> Generates type definitions for Chevrotain CST nodes

Latest version **13.2.0** (published 2026-08-01) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @chevrotain/cst-dts-gen
pnpm add @chevrotain/cst-dts-gen
yarn add @chevrotain/cst-dts-gen
bun add @chevrotain/cst-dts-gen
```

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 13.2.0 |
| Published | 2026-08-01 |
| First published | 2021-06-12 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM |
| Dependencies | 2 |
| Unpacked size | 32.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 2804 |
| Maintainers | bd82 |

## Links

- npm: https://www.npmjs.com/package/@chevrotain/cst-dts-gen
- Repository: https://github.com/Chevrotain/chevrotain
- Homepage: https://github.com/Chevrotain/chevrotain#readme
- Issues: https://github.com/Chevrotain/chevrotain/issues
- npm.io page: https://npm.io/package/@chevrotain/cst-dts-gen

## Dependencies (2)

- [@chevrotain/gast](https://npm.io/package/@chevrotain/gast.md) 13.2.0
- [@chevrotain/types](https://npm.io/package/@chevrotain/types.md) 13.2.0

## Recent versions

- 13.2.0 (latest) — 2026-08-01
- 13.1.0 — 2026-07-31
- 13.0.0 — 2026-07-25
- 12.0.0 — 2026-03-13
- 11.2.0 — 2026-03-03
- 11.1.2 — 2026-02-27
- 11.1.1 — 2026-01-24
- 11.1.0 — 2026-01-03
- 11.0.3 — 2023-08-14
- 11.0.2 — 2023-08-02
- 11.0.1 — 2023-07-17
- 11.0.0 — 2023-07-11
- 10.5.0 — 2023-03-11
- 10.4.2 — 2022-11-21
- 10.4.1 — 2022-11-04
- … 8 more at https://npm.io/package/@chevrotain/cst-dts-gen/versions

## README

[![Discussions](https://img.shields.io/github/discussions/chevrotain/chevrotain?style=flat-square)](https://github.com/Chevrotain/chevrotain/discussions)
[![npm](https://img.shields.io/npm/v/chevrotain.svg)](https://www.npmjs.com/package/chevrotain)
![npm](https://img.shields.io/npm/dm/chevrotain)
[![Continuous Integration](https://github.com/Chevrotain/chevrotain/actions/workflows/ci.yml/badge.svg)](https://github.com/Chevrotain/chevrotain/actions/workflows/ci.yml)
[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)

# Chevrotain

## TLDR

- [**Online Playground**](https://chevrotain.io/playground/)
- [**Getting Started Tutorial**](https://chevrotain.io/docs/tutorial/step0_introduction.html)
- [**YouTube Video**: Introduction to Lexers, Parsers and Interpreters with Chevrotain](https://www.youtube.com/watch?v=l-jMsoAY64k)
- [**Performance benchmark**](https://chevrotain.io/performance/)

## Introduction

Chevrotain is a [**blazing fast**](https://chevrotain.io/performance/)
and [**feature rich**](http://chevrotain.io/docs/features/blazing_fast.html)
**Parser Building Toolkit** for **JavaScript** with built-in support for **LL(K)**.
Grammars and [3rd party plugin for **LL(\*)**](https://github.com/langium/chevrotain-allstar) grammars.
It can be used to build parsers/compilers/interpreters for various use cases ranging from simple configuration files,
to full-fledged programming languages.

Grammars are written as [**pure JavaScript sources**](https://chevrotain.io/docs/FAQ.html#VS_GENERATORS) without a code generation phase,

A more in depth review of Chevrotain can be found in this great article on: [Parsing in JavaScript: Tools and Libraries](https://tomassetti.me/parsing-in-javascript/#chevrotain).

## Installation

- **npm**: `npm install chevrotain`
- **Browser** **ESM** bundled versions:
  These can be downloaded directly via [UNPKG](https://unpkg.com/) or other NPM cdn services, e.g.:
  - Latest:
    - `https://unpkg.com/chevrotain/lib/chevrotain.mjs`
    - `https://unpkg.com/chevrotain/lib/chevrotain.min.mjs`
  - Explicit version number:
    - `https://unpkg.com/chevrotain@13.2.0/lib/chevrotain.mjs`
    - `https://unpkg.com/chevrotain@13.2.0/lib/chevrotain.min.mjs`

## Documentation & Resources

- **[Sample Grammars](https://github.com/chevrotain/chevrotain/blob/master/examples/grammars)**.

- **[FAQ](https://chevrotain.io/docs/FAQ.html).**

- **[Other Examples](https://github.com/chevrotain/chevrotain/blob/master/examples)**.

- **[HTML API docs](https://chevrotain.io/documentation).**

- [ALL(\*) Lookahead in Langium](https://www.typefox.io/blog/allstar-lookahead)

## Compatibility

Chevrotain supports modern JavaScript runtimes: the Node.js versions declared
in the published package's `package.json` `engines` field, and current evergreen
browsers.

Chevrotain may rely on modern standard library APIs. Check the relevant
`tsconfig*.json` files and package `engines` fields for exact runtime
requirements.

Legacy runtimes are not supported. If you need to support older browsers,
transpilation and polyfills may be required.

## Contributions

Contributions are **greatly** appreciated.
See [CONTRIBUTING.md](./CONTRIBUTING.md) for details.

## Where used

A small-curated list:

1. [HyperFormula](https://github.com/handsontable/hyperformula)
   - HyperFormula is an open source, spreadsheet-like calculation engine
   - [source](https://github.com/handsontable/hyperformula/blob/5749f9ce57a3006109ccadc4a2e7d064c846ff78/src/parser/FormulaParser.ts)

2. [Langium](https://github.com/langium/langium)
   - Langium is a language engineering tool with built-in support for the Language Server Protocol.

3. [Prettier-Java](https://github.com/jhipster/prettier-java)
   - A Prettier Plugin for Java
   - [source](https://github.com/jhipster/prettier-java/tree/main/packages/java-parser)

4. [JHipster Domain Language](https://www.jhipster.tech/jdl/intro)
   - The JDL is a JHipster-specific domain language where you can describe all your applications, deployments, entities
     and their relationships in a single file (or more than one) with a user-friendly syntax.
   - [source](https://github.com/jhipster/generator-jhipster/tree/main/jdl/parsing)

5. [Argdown](https://github.com/christianvoigt/argdown)
   - Argdown is a simple syntax for analyzing complex argumentation.
   - [source](https://github.com/christianvoigt/argdown/blob/master/packages/argdown-core/src/parser.ts)

---
_Source: https://npm.io/package/@chevrotain/cst-dts-gen · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
