{"library":"gyp-parser","type":"library","category":null,"description":"gyp-parser is a JavaScript library dedicated to parsing files written in the GYP (Generate Your Projects) format. GYP is a build system historically used by projects like Chromium and Node.js to generate native project files (e.g., Makefiles, Visual Studio projects). This package provides a robust, pure JavaScript implementation that converts GYP source strings into standard JavaScript objects. It serves as a secure and reliable alternative to using `eval()` for GYP content, adeptly handling complex GYP features such as implicit string concatenation, variable expansion, and dictionary merging that `eval()` might misinterpret or fail to process. The current stable version is 1.0.4, indicating a mature and specific tool that likely has an infrequent release cadence. Its key differentiator is its ability to parse the GYP format comprehensively without relying on `eval()` or performing any I/O operations, making it suitable for secure and isolated parsing tasks within applications.","language":"javascript","status":"active","version":"1.0.4","tags":["javascript","gyp","parser","json","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install gyp-parser","imports":["import { parse } from 'gyp-parser';","const { parse } = require('gyp-parser');"]},{"cmd":"yarn add gyp-parser","imports":[]},{"cmd":"pnpm add gyp-parser","imports":[]}],"homepage":null,"github":"https://github.com/addaleax/gyp-parser","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/gyp-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/gyp-parser/compatibility"}}