{"name":"xcode","version":"0.4.1","author":{"name":"Andrew Lunny","email":"alunny@gmail.com"},"_id":"xcode@0.4.1","maintainers":[{"name":"alunny","email":"alunny@gmail.com"}],"dist":{"shasum":"5d31c64b541c28a847754525bab2abc226ecdc9e","tarball":"http://registry-npm.ywwl.com/xcode/download/xcode-0.4.1.tgz","integrity":"sha512-MUUEq5yYbvtPQh1StnMFmzzmenJEtV8d0aAV1Bi03vNFqDgBmh0j2j5Y619NgNr7x0RLOyrOfXqkK8gTI34scQ==","signatures":[{"sig":"MEUCIFKIozVhSP6+HqVlx2XhjyDAaa0h6RxHdMksYm6qKa6TAiEAyjIErkQzcgiaCsKb5n/OAhABevtEZ7gob0ahf3fWcJ0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"size":28694,"noattachment":false,"key":"/xcode/-/xcode-0.4.1.tgz"},"main":"index.js","engines":{"node":">=0.6.7"},"scripts":{"test":"node_modules/.bin/nodeunit test/parser test"},"repository":{"url":"https://github.com/alunny/node-xcode.git"},"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":1344465725318,"_cnpm_publish_time":1344465725318,"dist-tags":{"latest":"4.0.0","nightly":"3.0.2-nightly.20251125002453809.sha.e6b981ec"}}