{"id":15046567,"url":"https://github.com/rafaeljesus/koa-xml","last_synced_at":"2025-10-27T18:30:31.565Z","repository":{"id":75950021,"uuid":"43529226","full_name":"rafaeljesus/koa-xml","owner":"rafaeljesus","description":"XML request body parser for Koa","archived":false,"fork":false,"pushed_at":"2016-08-18T11:03:51.000Z","size":12,"stargazers_count":3,"open_issues_count":1,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T07:31:41.740Z","etag":null,"topics":["koa","node","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rafaeljesus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2015-10-02T00:51:17.000Z","updated_at":"2020-04-15T02:33:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"7597be47-cbd6-41fb-b537-a720117b046d","html_url":"https://github.com/rafaeljesus/koa-xml","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafaeljesus%2Fkoa-xml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafaeljesus%2Fkoa-xml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafaeljesus%2Fkoa-xml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafaeljesus%2Fkoa-xml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rafaeljesus","download_url":"https://codeload.github.com/rafaeljesus/koa-xml/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238536073,"owners_count":19488648,"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":["koa","node","xml"],"created_at":"2024-09-24T20:53:14.719Z","updated_at":"2025-10-27T18:30:26.233Z","avatar_url":"https://github.com/rafaeljesus.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## koa-xml\n[![Node version](https://img.shields.io/node/v/latest-version.svg?style=flat-square)](https://npmjs.org/package/koa-xml)\n[![NPM version](http://img.shields.io/npm/v/koa-xml.svg?style=flat-square)](https://www.npmjs.org/package/koa-xml)\n[![Build Status](https://img.shields.io/travis/rafaeljesus/koa-xml/master.svg?style=flat-square)](https://travis-ci.org/rafaeljesus/koa-xml)\n[![bitHound Score](https://www.bithound.io/github/rafaeljesus/koa-xml/badges/score.svg)](https://www.bithound.io/github/rafaeljesus/koa-xml)\n[![bitHound Dependencies](https://www.bithound.io/github/rafaeljesus/koa-xml/badges/dependencies.svg)](https://www.bithound.io/github/rafaeljesus/koa-xml/master/dependencies/npm)\n[![license](http://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](https://github.com/rafaeljesus/koa-xml/blob/master/LICENSE)\n\nXML request body parser for koa\n\n## Usage\n\n```bash\nnpm install --save koa-xml\n```\n\n```js\nconst koa = require('koa')\nconst xml = require('koa-xml')\n\nconst options = {\n  normalize: true,\n  firstCharLowerCase: true,\n  explicitArray: false,\n  ignoreAttrs: true\n}\n\napp.use(xml(options))\n```\n\n## Xml parse options\nUses [xml2js](https://github.com/Leonidas-from-XIV/node-xml2js) see all available [options] (https://github.com/Leonidas-from-XIV/node-xml2js#options)\n\nSupported methods: `POST`, `PUT`, `PATCH`, and `TRACE`.\n\nSupported `Content-Type`: `application/xml`\n\n## Contributing\n- Fork it\n- Create your feature branch (`git checkout -b my-new-feature`)\n- Commit your changes (`git commit -am 'Add some feature'`)\n- Push to the branch (`git push origin my-new-feature`)\n- Create new Pull Request\n\n## Maintaners\n\n* [Rafael Jesus](https://github.com/rafaeljesus)\n\n## License\nkoa-xml is released under the [MIT License](http://www.opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafaeljesus%2Fkoa-xml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frafaeljesus%2Fkoa-xml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafaeljesus%2Fkoa-xml/lists"}