{"id":16842397,"url":"https://github.com/adamdecaf/xmlq","last_synced_at":"2026-02-03T00:11:55.915Z","repository":{"id":222187814,"uuid":"756510872","full_name":"adamdecaf/xmlq","owner":"adamdecaf","description":"pretty print and mask xml","archived":false,"fork":false,"pushed_at":"2025-04-29T20:35:29.000Z","size":34,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-29T21:34:26.994Z","etag":null,"topics":["masking","pii","xml"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adamdecaf.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2024-02-12T19:50:28.000Z","updated_at":"2025-04-29T20:35:21.000Z","dependencies_parsed_at":"2024-06-21T14:11:29.329Z","dependency_job_id":null,"html_url":"https://github.com/adamdecaf/xmlq","commit_stats":null,"previous_names":["adamdecaf/xmlq"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/adamdecaf/xmlq","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamdecaf%2Fxmlq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamdecaf%2Fxmlq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamdecaf%2Fxmlq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamdecaf%2Fxmlq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adamdecaf","download_url":"https://codeload.github.com/adamdecaf/xmlq/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamdecaf%2Fxmlq/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262352484,"owners_count":23297680,"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":["masking","pii","xml"],"created_at":"2024-10-13T12:45:52.188Z","updated_at":"2026-02-03T00:11:55.910Z","avatar_url":"https://github.com/adamdecaf.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# xmlq\n\n[![GoDoc](https://godoc.org/github.com/adamdecaf/xmlq?status.svg)](https://pkg.go.dev/github.com/adamdecaf/xmlq/pkg/xmlq)\n[![Build Status](https://github.com/adamdecaf/xmlq/workflows/Go/badge.svg)](https://github.com/adamdecaf/xmlq/actions)\n[![Go Report Card](https://goreportcard.com/badge/github.com/adamdecaf/xmlq)](https://goreportcard.com/report/github.com/adamdecaf/xmlq)\n[![Apache 2 License](https://img.shields.io/badge/license-Apache2-blue.svg)](https://raw.githubusercontent.com/adamdecaf/xmlq/master/LICENSE)\n\nxmlq is a Go library for pretty printing xml and masking element values. XML inside of CDATA stanzas is also masked and indented.\n\n## Usage\n\n```go\nimport (\n\t\"github.com/adamdecaf/xmlq/pkg/xmlq\"\n)\n\nvar (\n\txmlData io.Reader\n)\n\noutput, err := xmlq.MarshalIndent(xmlData, \u0026Options{\n\tIndent: \"  \", // two spaces\n\tMasks: []Mask{\n\t\t{\n\t\t\t// \u003cct:Id\u003e11000179512199001\u003c/ct:Id\u003e\n\t\t\tName: \"Id\",\n\t\t\tMask: ShowLastFour,\n\t\t},\n\t\t{\n\t\t\t// \u003cct:Nm\u003eJohn Doe\u003c/ct:Nm\u003e\n\t\t\tName: \"Nm\",\n\t\t\tMask: ShowWordStart,\n\t\t},\n\t},\n})\n```\n\n## Supported and tested platforms\n\n- 64-bit Linux (Ubuntu, Debian), macOS, and Windows\n\n## License\n\nApache License 2.0 - See [LICENSE](LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamdecaf%2Fxmlq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadamdecaf%2Fxmlq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamdecaf%2Fxmlq/lists"}