{"id":15141837,"url":"https://github.com/nativescript/libxmljs","last_synced_at":"2025-09-29T10:31:23.992Z","repository":{"id":141977974,"uuid":"47244744","full_name":"NativeScript/libxmljs","owner":"NativeScript","description":"libxml bindings for v8 javascript engine","archived":false,"fork":true,"pushed_at":"2015-12-02T08:38:01.000Z","size":3458,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":20,"default_branch":"master","last_synced_at":"2024-05-23T10:00:59.758Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/polotek/libxmljs/wiki","language":"C++","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"rosen-vladimirov/libxmljs","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NativeScript.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":"2015-12-02T07:32:12.000Z","updated_at":"2022-04-13T22:42:22.000Z","dependencies_parsed_at":"2023-03-14T03:30:49.327Z","dependency_job_id":null,"html_url":"https://github.com/NativeScript/libxmljs","commit_stats":null,"previous_names":[],"tags_count":30,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NativeScript%2Flibxmljs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NativeScript%2Flibxmljs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NativeScript%2Flibxmljs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NativeScript%2Flibxmljs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NativeScript","download_url":"https://codeload.github.com/NativeScript/libxmljs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219874490,"owners_count":16554583,"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-09-26T09:02:37.119Z","updated_at":"2025-09-29T10:31:19.740Z","avatar_url":"https://github.com/NativeScript.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Libxmljs\n[![Build Status](https://secure.travis-ci.org/polotek/libxmljs.svg?branch=master)](http://travis-ci.org/polotek/libxmljs)\n\nLibXML bindings for [node.js](http://nodejs.org/)\n\n```javascript\nvar libxmljs = require(\"libxmljs\");\nvar xml =  '\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e' +\n           '\u003croot\u003e' +\n               '\u003cchild foo=\"bar\"\u003e' +\n                   '\u003cgrandchild baz=\"fizbuzz\"\u003egrandchild content\u003c/grandchild\u003e' +\n               '\u003c/child\u003e' +\n               '\u003csibling\u003ewith content!\u003c/sibling\u003e' +\n           '\u003c/root\u003e';\n\nvar xmlDoc = libxmljs.parseXml(xml);\n\n// xpath queries\nvar gchild = xmlDoc.get('//grandchild');\n\nconsole.log(gchild.text());  // prints \"grandchild content\"\n\nvar children = xmlDoc.root().childNodes();\nvar child = children[0];\n\nconsole.log(child.attr('foo').value()); // prints \"bar\"\n```\n\n## Support\n\n* Docs - [http://github.com/polotek/libxmljs/wiki](http://github.com/polotek/libxmljs/wiki)\n* Mailing list - [http://groups.google.com/group/libxmljs](http://groups.google.com/group/libxmljs)\n\n## API and Examples\n\nCheck out the wiki [http://github.com/polotek/libxmljs/wiki](http://github.com/polotek/libxmljs/wiki).\n\nSee the [examples](https://github.com/polotek/libxmljs/tree/master/examples) folder.\n\n## Installation via [npm](https://npmjs.org)\n\n```shell\nnpm install libxmljs\n```\n\n## Contribute\n\nStart by checking out the [open issues](https://github.com/polotek/libxmljs/issues?labels=\u0026page=1\u0026state=open). Specifically the [desired feature](https://github.com/polotek/libxmljs/issues?labels=desired+feature\u0026page=1\u0026state=open) ones.\n\n### Requirements\n\nMake sure you have met the requirements for [node-gyp](https://github.com/TooTallNate/node-gyp#installation). You DO NOT need to manually install node-gyp; it comes bundled with node.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnativescript%2Flibxmljs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnativescript%2Flibxmljs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnativescript%2Flibxmljs/lists"}