{"id":3829,"url":"https://github.com/mifi/cordova-xml","last_synced_at":"2025-10-30T10:46:16.055Z","repository":{"id":57209333,"uuid":"65993832","full_name":"mifi/cordova-xml","owner":"mifi","description":"Edit cordova config.xml from the command line or via API","archived":false,"fork":false,"pushed_at":"2020-05-02T05:09:22.000Z","size":5,"stargazers_count":7,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-17T22:17:26.030Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mifi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-08-18T12:06:06.000Z","updated_at":"2023-07-29T20:53:09.000Z","dependencies_parsed_at":"2022-09-18T01:53:29.275Z","dependency_job_id":null,"html_url":"https://github.com/mifi/cordova-xml","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/mifi/cordova-xml","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mifi%2Fcordova-xml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mifi%2Fcordova-xml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mifi%2Fcordova-xml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mifi%2Fcordova-xml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mifi","download_url":"https://codeload.github.com/mifi/cordova-xml/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mifi%2Fcordova-xml/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265717533,"owners_count":23816611,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-01-05T20:16:52.689Z","updated_at":"2025-10-30T10:46:10.999Z","avatar_url":"https://github.com/mifi.png","language":"JavaScript","funding_links":[],"categories":["Tools"],"sub_categories":[],"readme":"# cordova-xml\n\nEdit cordova config.xml from the command line or via API. Uses the awesome [node-xmlpoke](https://github.com/mikeobrien/node-xmlpoke).\n\n## Install\n```\nnpm install --save-dev cordova-xml\n```\nor global:\n```\nnpm install -g cordova-xml\n```\n\n## CLI Usage\n```\ncordova-xml \u003caction\u003e \u003cargs\u003e\n```\n\n## CLI examples\n```\ncordova-xml setId com.example.myid --config /path/to/config.xml\ncordova-xml setVersion 1.2.3\ncordova-xml setId com.example.myid\ncordova-xml setAndroidVersion 1.4.5\ncordova-xml setIosVersion 1.1.2\ncordova-xml setName TestApp\ncordova-xml setDescription 'my app description'\ncordova-xml setAuthorEmail 'email@example.com'\ncordova-xml setAuthorName 'Author Authsson'\ncordova-xml setAuthorWebsite 'http://example.com'\ncordova-xml setXml \"/w:widget/w:platform[@name='android']\" '\u003ctest\u003ehey\u003c/test\u003e'\n```\n\n## lib examples\n```\nrequire('cordova-xml')().setId('com.example.myid')\nrequire('cordova-xml')('/path/to/config.xml').setId('com.example.myid')\n```\n\n## Use xmlpoke directly\n```\nconst cordovaXml = require('cordova-xml')();\ncordovaXml.withPoke(xml =\u003e xml.add(\"/w:widget/w:platform[@name='android']/something\", xml.XmlString('\u003ctext\u003ehey\u003c/text\u003e')));\n```\nSee [node-xmlpoke](https://github.com/mikeobrien/node-xmlpoke) for more info.\n\n## Related\nhttps://github.com/ragingwind/cordova-config-cli - Inspiration. However this one mutates the XML doc more\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmifi%2Fcordova-xml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmifi%2Fcordova-xml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmifi%2Fcordova-xml/lists"}