{"library":"gradle-to-js","type":"library","category":null,"description":"gradle-to-js is a JavaScript library designed to parse Gradle build files (`.gradle`) into plain JavaScript objects. Currently at version 2.0.1, it offers a 'quick & dirty' approach, focusing on extracting key-value pairs and block structures rather than executing or accurately representing runtime evaluations within the Gradle script. This means complex logic, closures, or dynamic expressions found in Gradle files will not be processed, resulting in a simplified, static representation. The library primarily supports CommonJS imports and is best suited for scenarios where a basic, structural understanding of a Gradle file is needed, rather than a full, executable interpretation. Its release cadence appears infrequent, and it is likely in maintenance mode, reflecting its specific and somewhat limited parsing scope.","language":"javascript","status":"maintenance","version":"2.0.1","tags":["javascript","gradle","parsing"],"last_verified":"Wed May 27","install":[{"cmd":"npm install gradle-to-js","imports":["const g2js = require('gradle-to-js/lib/parser');","g2js.parseFile('path/to/buildfile').then(...);","g2js.parseText('key \"value\"').then(...);"]},{"cmd":"yarn add gradle-to-js","imports":[]},{"cmd":"pnpm add gradle-to-js","imports":[]}],"homepage":null,"github":"https://github.com/ninetwozero/gradle-to-js","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/gradle-to-js","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/gradle-to-js/compatibility"}}