{"categories":[{"label":"Text Processing","url":"https://skillfed.io/packages/category/text-processing/2"}],"enrichment":{"capability":"Parses JavaScript source code into an abstract syntax tree (AST) compatible with esprima.js, supporting ECMAScript 5.1 and parts of ECMAScript 6.","skillfed_tags":["ast-parsing","javascript-analysis"],"use_cases":["Static analysis of JavaScript code to extract variable names, function definitions, or code structure","Building linters or code quality tools that need to understand JavaScript syntax without running it","Transforming or transpiling JavaScript code by manipulating its AST representation","Analyzing third-party JavaScript libraries to understand their API surface or dependencies"],"what_it_does":"pyjsparser is a Python port of the esprima.js JavaScript parser that converts JavaScript source code into an abstract syntax tree. It was designed to be fast and comprehensible, translating esprima's logic directly to Python rather than wrapping a JavaScript engine.\n\nThe parser handles ECMAScript 5.1 fully and supports parts of ECMAScript 6. It produces AST output compatible with esprima's format, making it useful for static analysis, code transformation, or tooling that needs to understand JavaScript structure without executing it. However, the package has not been maintained since 2019, so it will not evolve with newer JavaScript standards or receive compatibility updates for recent Python versions.","worth_installing":"Yes, if you need to parse ECMAScript 5.1 code and can accept an unmaintained package. The parser has no dependencies, installs easily, and carries no known vulnerabilities. However, avoid it for modern JavaScript projects that rely on ES6+ features, and be aware that bugs or Python compatibility issues will not be fixed. Consider whether a maintained alternative better suits your timeline."},"id":"pyjsparser","links":{"html":"https://skillfed.io/packages/pyjsparser","md":"https://skillfed.io/packages/pyjsparser.md","pypi":"https://pypi.org/project/pyjsparser/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2019-04-21","license_spdx":null,"license_treatment":"permissive","name":"pyjsparser","python_support":"unspecified","summary":"Fast javascript parser (based on esprima.js)"},"popularity":{"monthly_downloads":694728,"position":5313,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.7.1"}
