{"library":"jsdoctypeparser","type":"library","category":null,"description":"The `jsdoctypeparser` library provides a strict parser for various JavaScript type expression syntaxes, including JSDoc, Closure Compiler, and a subset of TypeScript types. It is currently at version 9.0.0. The library transforms these type expressions into a detailed Abstract Syntax Tree (AST), enabling programmatic analysis and manipulation. It also offers a `publish` function to stringify an AST back into a type expression, with capabilities for custom stringification via a publisher API. Additionally, a `traverse` function allows for AST navigation with `onEnter` and `onLeave` handlers. This tool is crucial for projects needing to deeply understand, validate, or transform JSDoc-style type annotations, serving as a foundational component for linters, documentation generators, and code transformation tools. Its differentiators lie in its strict parsing capabilities across multiple dialects and its comprehensive AST manipulation utilities, which allow for a high degree of control over type expression processing. The project maintains an active development status, focusing on robustness and specification adherence.","language":"javascript","status":"active","version":"9.0.0","tags":["javascript","jsdoc","type expression","parser"],"last_verified":"Wed May 27","install":[{"cmd":"npm install jsdoctypeparser","imports":["const { parse } = require('jsdoctypeparser');","const { publish } = require('jsdoctypeparser');","const { traverse } = require('jsdoctypeparser');","const { createDefaultPublisher } = require('jsdoctypeparser');"]},{"cmd":"yarn add jsdoctypeparser","imports":[]},{"cmd":"pnpm add jsdoctypeparser","imports":[]}],"homepage":"https://jsdoctypeparser.github.io","github":"https://github.com/jsdoctypeparser/jsdoctypeparser","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/jsdoctypeparser","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/jsdoctypeparser/compatibility"}}