{"id":21611266,"url":"https://github.com/runnerty/executor-parse-xml-json","last_synced_at":"2026-04-19T05:32:22.543Z","repository":{"id":29356967,"uuid":"120726796","full_name":"runnerty/executor-parse-xml-json","owner":"runnerty","description":"An xml/json parser executor for Runnerty","archived":false,"fork":false,"pushed_at":"2023-04-11T01:35:24.000Z","size":83,"stargazers_count":0,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-09T21:52:35.810Z","etag":null,"topics":["executor","json","parser","runnerty","xml"],"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/runnerty.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-02-08T07:29:06.000Z","updated_at":"2022-10-13T12:29:28.000Z","dependencies_parsed_at":"2024-11-24T21:11:54.780Z","dependency_job_id":"89a5f0e2-758a-4d5a-8571-af79599b901e","html_url":"https://github.com/runnerty/executor-parse-xml-json","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/runnerty/executor-parse-xml-json","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runnerty%2Fexecutor-parse-xml-json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runnerty%2Fexecutor-parse-xml-json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runnerty%2Fexecutor-parse-xml-json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runnerty%2Fexecutor-parse-xml-json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/runnerty","download_url":"https://codeload.github.com/runnerty/executor-parse-xml-json/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runnerty%2Fexecutor-parse-xml-json/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270336359,"owners_count":24566768,"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","status":"online","status_checked_at":"2025-08-13T02:00:09.904Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["executor","json","parser","runnerty","xml"],"created_at":"2024-11-24T21:11:45.810Z","updated_at":"2025-10-30T05:46:11.459Z","avatar_url":"https://github.com/runnerty.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"http://runnerty.io\"\u003e\n    \u003cimg height=\"257\" src=\"https://runnerty.io/assets/header/logo-stroked.png\"\u003e\n  \u003c/a\u003e\n  \u003cp align=\"center\"\u003eSmart Processes Management\u003c/p\u003e\n\u003c/p\u003e\n\n[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Dependency Status][david-badge]][david-badge-url]\n\u003ca href=\"#badge\"\u003e\n\u003cimg alt=\"code style: prettier\" src=\"https://img.shields.io/badge/code_style-prettier-ff69b4.svg\"\u003e\n\u003c/a\u003e\n\n# XML/JSON Parser executor for [Runnerty]:\n\n### Installation:\n\nThrough NPM\n\n```bash\nnpm i @runnerty/executor-parse-xml-json\n```\n\nYou can also add modules to your project with [runnerty-cli]\n\n```bash\nnpx runnerty-cli add @runnerty/executor-parse-xml-json\n```\n\nThis command installs the module in your project, adds example configuration in your `config.json` and creates an example plan of use.\n\nIf you have installed [runnerty-cli] globally you can include the module with this command:\n\n```bash\nrty add @runnerty/executor-parse-xml-json\n```\n\n### Configuration sample:\n\n```json\n{\n  \"id\": \"parse-xml-json_default\",\n  \"type\": \"@runnerty-executor-parse-xml-json\"\n}\n```\n\n### Plan sample:\n\n```json\n{\n  \"id\": \"parse-xml-json_default\",\n  \"to\": \"xml\",\n  \"json\": {\n    \"title\": \"Hello world\",\n    \"description\": \"Example for XML/JSON parser executor\"\n  }\n}\n```\n\n```json\n{\n  \"id\": \"parse-xml-json_default\",\n  \"to\": \"json\",\n  \"xml\": \"\u003c?xml version='1.0' encoding='UTF-8' standalone='yes'?\u003e\u003croot\u003e\u003ctitle\u003eHello world\u003c/title\u003e\u003cdescription\u003eExample for XML/JSON parser executor\u003c/description\u003e\u003c/root\u003e\"\n}\n```\n\n### Plan sample using input files:\n\n```json\n{\n  \"id\": \"parse-xml-json_default\",\n  \"to\": \"xml\",\n  \"json_file\": \"./test/sample.json\"\n}\n```\n\n```json\n{\n  \"id\": \"parse-xml-json_default\",\n  \"to\": \"json\",\n  \"xml_file\": \"./test/sample.xml\"\n}\n```\n\n### Plan sample using output file:\n\n```json\n{\n  \"id\": \"parse-xml-json_default\",\n  \"to\": \"json\",\n  \"xml_file\": \"./test/sample.xml\",\n  \"output_file\": \"./test/output.json\"\n}\n```\n\n### Plan sample using options object for json:\n\n```json\n{\n  \"id\": \"parse-xml-json_default\",\n  \"to\": \"json\",\n  \"xml_file\": \"./test/sample.xml\",\n  \"output_file\": \"./test/output.json\",\n  \"json_options\": {\n    \"attrkey\": \"attribute\",\n    \"charkey\": \"value\"\n  }\n}\n```\n\n### Plan sample using options object for xml:\n\n```json\n{\n  \"id\": \"parse-xml-json_default\",\n  \"to\": \"xml\",\n  \"json_file\": \"./test/sample.json\",\n  \"output_file\": \"./test/output.xml\",\n  \"xml_options\": {\n    \"headless\": true,\n    \"cdata\": true\n  }\n}\n```\n\nOptions definitions for `json_options` and `xml_options` params can be found here:\n\n- [json_options]\n- [xml_options]\n\n[json_options]: https://github.com/Leonidas-from-XIV/node-xml2js#options\n[xml_options]: https://github.com/Leonidas-from-XIV/node-xml2js#options-for-the-builder-class\n[runnerty]: http://www.runnerty.io\n[downloads-image]: https://img.shields.io/npm/dm/@runnerty/executor-parse-xml-json.svg\n[npm-url]: https://www.npmjs.com/package/@runnerty/executor-parse-xml-json\n[npm-image]: https://img.shields.io/npm/v/@runnerty/executor-parse-xml-json.svg\n[david-badge]: https://david-dm.org/runnerty/executor-parse-xml-json.svg\n[david-badge-url]: https://david-dm.org/runnerty/executor-parse-xml-json\n[config.json]: http://docs.runnerty.io/config/\n[plan.json]: http://docs.runnerty.io/plan/\n[runnerty-cli]: https://www.npmjs.com/package/runnerty-cli\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frunnerty%2Fexecutor-parse-xml-json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frunnerty%2Fexecutor-parse-xml-json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frunnerty%2Fexecutor-parse-xml-json/lists"}