{"library":"espree","type":"library","category":null,"description":"Espree is a high-performance, Esprima-compatible JavaScript parser built upon the modular Acorn parsing library. It is the default parser used by ESLint and is designed to produce Abstract Syntax Trees (ASTs) that are highly consistent with the Esprima API, making it a drop-in replacement in many scenarios. The package is currently at stable version 11.2.0 and receives active maintenance with frequent updates, typically on a monthly or bi-monthly schedule for minor and patch releases. Key differentiators include its robust support for all modern ECMAScript features up to ES2026 (ECMAScript 17), comprehensive parsing options for fine-grained control over AST output (including ranges, locations, comments, and tokens), and official TypeScript type definitions since v11.1.0, enhancing developer experience for TypeScript projects.","language":"javascript","status":"active","version":"11.2.0","tags":["javascript","ast","ecmascript","parser","syntax","acorn","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install espree","imports":["import * as espree from 'espree';","import * as espree from 'espree';\nconst ast = espree.parse(code, options);","const espree = require('espree');\nconst ast = espree.parse(code, options);"]},{"cmd":"yarn add espree","imports":[]},{"cmd":"pnpm add espree","imports":[]}],"homepage":null,"github":"https://github.com/eslint/js","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/espree","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/espree/compatibility"}}