{"library":"acorn-typescript","type":"library","category":null,"description":"acorn-typescript is an experimental alternative plugin for Acorn, a small, fast JavaScript parser. It extends Acorn to parse TypeScript scripts into a TypeScript AST, aiming for faster performance compared to other TypeScript parsers. The current stable version is 1.4.13, and it exhibits an active release cadence, frequently addressing bug fixes related to various TypeScript syntax features like optional class properties, generic types, arrow functions, and decorators. Key differentiators include its integration as an Acorn plugin, allowing existing Acorn users to add TypeScript parsing capabilities, and its specific focus on optimizing parsing speed. It supports standard TypeScript syntax, decorators, and JSX/TSX. It requires `acorn` version `>=8.9.0` as a peer dependency.","language":"javascript","status":"active","version":"1.4.13","tags":["javascript","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install acorn-typescript","imports":["import * as acorn from 'acorn'","import tsPlugin from 'acorn-typescript'","acorn.Parser.extend(tsPlugin())"]},{"cmd":"yarn add acorn-typescript","imports":[]},{"cmd":"pnpm add acorn-typescript","imports":[]}],"homepage":null,"github":"https://github.com/TyrealHu/acorn-typescript","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/acorn-typescript","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/acorn-typescript/compatibility"}}