
Security News
rv Is a New Rust-Powered Ruby Version Manager Inspired by Python's uv
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
xml-integrity
Advanced tools
XML parser that 100% retains all formatting for creating identical XML on roundtrips
Typescript XML parser that 100% retains all formatting for creating identical XML on roundtrips.
If you have an XML file that you want to read, modify, and write back, this library will ensure that the output XML is formatted identical to the input XML.
The following XML:
<?xml version="1.0" encoding="UTF-8"?>
<root>
<!-- my comment -->
<element attribute="value" />
<element attribute='value'></element>
</root>
Will get parsed by XmlParser.parse(..)
to:
new XmlDocument([
new XmlProcessing('xml',' ', 'version="1.0" encoding="UTF-8"'),
new XmlText('\n'),
new XmlElement('root', [], [
new XmlText('\n '),
new XmlComment(' my comment '),
new XmlText('\n '),
new XmlElement('element', [new XmlAttribute('attribute', 'value')], [], ' ', true),
new XmlText('\n '),
new XmlElement('element', [new XmlAttribute('attribute', 'value', ' ', '', '', "'")], [], '', false),
new XmlText('\n')
])
]);
This project is written in Typescript and uses Bun.
bun install
bun test
FAQs
XML parser that 100% retains all formatting for creating identical XML on roundtrips
The npm package xml-integrity receives a total of 0 weekly downloads. As such, xml-integrity popularity was classified as not popular.
We found that xml-integrity demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.