{"name":"xcode","version":"0.5.0","author":{"name":"Andrew Lunny","email":"alunny@gmail.com"},"_id":"xcode@0.5.0","maintainers":[{"name":"alunny","email":"alunny@gmail.com"}],"contributors":[{"url":"@alunny","name":"Andrew Lunny"},{"url":"@imhotep","name":"Anis Kadri"},{"url":"@mreinstein","name":"Mike Reinstein"},{"url":"@filmaj","name":"Filip Maj"}],"dist":{"shasum":"8d0b877a3d60cb4aa7416a7e5623f35a8d5bf225","tarball":"http://registry-npm.ywwl.com/xcode/download/xcode-0.5.0.tgz","integrity":"sha512-Q4L8J2Ab8e71UAzbw96ZStGel1zeQCVrTlN1PmQB+n3J7QecqpZu1RiAoStYPT4GoN3vl7B4HxfbBl9LPG59rA==","signatures":[{"sig":"MEQCIHleOpCBBDk+O0Rvb7WAJFNA1j57fdENHydcpIITsNlnAiAlMsQyXmBXSUZ+6o4FLL+w1hbf4bMYoTmHj+dpXgCg8w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"size":30351,"noattachment":false,"key":"/xcode/-/xcode-0.5.0.tgz"},"main":"index.js","engines":{"node":">=0.6.7"},"scripts":{"test":"node_modules/.bin/nodeunit test/parser test"},"_npmUser":{"name":"alunny","email":"alunny@gmail.com"},"repository":{"url":"https://github.com/alunny/node-xcode.git"},"_npmVersion":"1.1.61","description":"parser for xcodeproj/project.pbxproj files","directories":{},"dependencies":{"pegjs":"0.6.2","node-uuid":"1.3.3"},"devDependencies":{"nodeunit":"0.6.4"},"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":1350270056908,"_cnpm_publish_time":1350270056908,"dist-tags":{"latest":"4.0.0","nightly":"3.0.2-nightly.20251125002453809.sha.e6b981ec"}}