{"author":{"name":"Apache Software Foundation"},"name":"xcode","description":"parser for xcodeproj/project.pbxproj files","version":"3.0.2-nightly.20241023002351366.sha.c491d3a2","main":"index.js","repository":{"type":"git","url":"git+https://github.com/apache/cordova-node-xcode.git"},"bugs":{"url":"https://github.com/apache/cordova-node-xcode/issues"},"engines":{"node":">=10.0.0"},"dependencies":{"simple-plist":"^1.1.0","uuid":"^7.0.3"},"devDependencies":{"nodeunit":"^0.11.3","nyc":"^15.0.0","pegjs":"^0.10.0"},"scripts":{"pegjs":"pegjs lib/parser/pbxproj.pegjs","test":"npm run cover","test:unit":"nodeunit test/parser test","cover":"nyc npm run test:unit"},"license":"Apache-2.0","nyc":{"all":true,"exclude":["coverage/","test/"],"reporter":["lcov","text"]},"_id":"xcode@3.0.2-nightly.20241023002351366.sha.c491d3a2","contributors":[{"name":"Andrew Lunny","url":"@alunny"},{"name":"Anis Kadri","url":"@imhotep"},{"name":"Mike Reinstein","url":"@mreinstein"},{"name":"Filip Maj","url":"@filmaj"},{"name":"Brett Rudd","url":"@goya"},{"name":"Bob Easterday","url":"@bobeast"}],"readmeFilename":"README.md","gitHead":"c491d3a26f11ae63c566ae50fbd44e844f448724","homepage":"https://github.com/apache/cordova-node-xcode#readme","_nodeVersion":"18.20.4","_npmVersion":"10.7.0","dist":{"integrity":"sha512-cE8WfPlxPkDOiBbjsOKdZ4fV8a3aaVOXBei53OIETfP2+EOeQSvybgekvUA1lYwWYNrLk7BVOtyopvu4I89JAg==","shasum":"206ea231281ee887d8ff3a9d868e90404d2206ae","tarball":"http://registry-npm.ywwl.com/xcode/download/xcode-3.0.2-nightly.20241023002351366.sha.c491d3a2.tgz","fileCount":15,"unpackedSize":161013,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEPvEq7nF/BOqsX6rv2SkLWA8LNLaUU+ByIGw0dW6OeBAiEA+fw83AvQ3lsU+Em3XFbqVfnQ2N5tsD49ZJb9hmyDPxs="}],"size":29714,"noattachment":false,"key":"/xcode/-/xcode-3.0.2-nightly.20241023002351366.sha.c491d3a2.tgz"},"_npmUser":{"name":"cordovaowner","email":"apachecordovabot@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xcode_3.0.2-nightly.20241023002351366.sha.c491d3a2_1729643060471_0.2637844444625821"},"_hasShrinkwrap":false,"readme":"<!--\n#\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\n#\n-->\n\n# cordova-node-xcode\n\n[![npm - Latest](https://img.shields.io/npm/v/xcode/latest?label=Latest%20Release%20(npm))](https://npmjs.com/package/xcode)\n[![GitHub](https://img.shields.io/github/package-json/v/apache/cordova-node-xcode?label=Development%20(Git))](https://github.com/apache/cordova-node-xcode)\n\n[![GitHub - Node Workflow](https://github.com/apache/cordova-node-xcode/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/apache/cordova-node-xcode/actions/workflows/ci.yml?query=branch%3Amaster)\n[![GitHub - Release Audit Workflow](https://github.com/apache/cordova-node-xcode/actions/workflows/release-audit.yml/badge.svg?branch=master)](https://github.com/apache/cordova-node-xcode/actions/workflows/release-audit.yml?query=branch%3Amaster)\n[![Code Coverage](https://codecov.io/github/apache/cordova-node-xcode/coverage.svg?branch=master)](https://codecov.io/github/apache/cordova-node-xcode?branch=master)\n\nParser utility for xcodeproj project files\n\nAllows you to edit xcodeproject files and write them back out.\n\nbased on donated code from [alunny / node-xcode](https://github.com/alunny/node-xcode)\n\n## Example\n\n```js\nconst fs = require('node:fs');\nconst xcode = require('xcode');\n\n// Path to the Xcode project's project.pbxproj file.\nconst projectPath = 'myproject.xcodeproj/project.pbxproj';\n// Create a PBXProject instance for the project.\nconst myProj = xcode.project(projectPath);\n\n// Parse the project file asynchronously before making changes.\nmyProj.parse(function (err) {\n    myProj.addHeaderFile('foo.h');\n    myProj.addSourceFile('foo.m');\n    myProj.addFramework('FooKit.framework');\n   \n    // Write the updated project back to disk.\n    fs.writeFileSync(projectPath, myProj.writeSync());\n\n    console.log('New project written');\n});\n```\n","publish_time":1729643060693,"maintainers":[{"name":"brodybits","email":"chris.brody+brodybits@gmail.com"},{"name":"dpogue","email":"darryl@dpogue.ca"},{"name":"cordovaowner","email":"apachecordovabot@gmail.com"},{"name":"stevegill","email":"stevengill97@gmail.com"},{"name":"purplecabbage","email":"purplecabbage@gmail.com"},{"name":"anis","email":"anis.kadri@gmail.com"},{"name":"filmaj","email":"maj.fil@gmail.com"},{"name":"bowserj","email":"bowserj@apache.org"},{"name":"shazron","email":"shazron@gmail.com"},{"name":"surajpindoria","email":"pindoria.suraj@gmail.com"},{"name":"erisu","email":"erisu.dev@outlook.jp"},{"name":"niklasmerz","email":"niklasmerz@linux.com"},{"name":"janpio","email":"piotrowski+npm@gmail.com"},{"name":"normanbreau","email":"norman@breautek.com"},{"name":"pvpoyer","email":"pieter.vanpoyer@portofantwerp.com"},{"name":"shepheb","email":"braden.shepherdson@gmail.com"},{"name":"alunny","email":"alunny@gmail.com"}],"_cnpm_publish_time":1729643060693,"dist-tags":{"latest":"4.0.0","nightly":"3.0.2-nightly.20251125002453809.sha.e6b981ec"}}