{"library":"solidity-parser","type":"library","category":null,"description":"PEG.js-based Solidity parser for JavaScript. Current stable version is 0.4.0, released as pre-alpha software. Provides parse() and parseFile() functions to convert Solidity source code into a structured JSON AST, with an optional 'imports' mode to extract imported file paths. Intended for tooling that needs to analyze or transform Solidity code without relying on heavy preprocessors. The AST structure is unstable and incomplete, and the parser may silently skip unsupported Solidity constructs. Not recommended for production use.","language":"javascript","status":"deprecated","version":"0.4.0","tags":["javascript"],"install":[{"cmd":"npm install solidity-parser","imports":["const SolidityParser = require('solidity-parser');","SolidityParser.parse(code);","SolidityParser.parseFile('./path/to/file.sol');"]},{"cmd":"yarn add solidity-parser","imports":[]},{"cmd":"pnpm add solidity-parser","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/solidity-parser","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/solidity-parser/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Fri Jul 24","install_tag":null}}