π± Collection of carefully crafted TypeScript standalone libraries. Minimal, unbloated, convenient.
Attributes
Very Popular
Includes Deno configuration
Repository
Current version released
11 months ago
Dependencies
other
Versions
- 6.0.4Latest
- 6.0.3
- 6.0.2
- 6.0.1
- 6.0.0
- 5.4.16
- 5.4.15
- 5.4.14
- 5.4.13
- 5.4.12
- 5.4.11
- 5.4.10
- 5.4.9
- 5.4.8
- 5.4.7
- 5.4.6
- 5.4.2
- 5.4.1
- 5.4.0
- bundle-9.0.2
- bundle-9.0.1
- bundle-9.0.0
- testing-1.0.10
- run-1.0.1
- run-1.0.0
- bundle-8.0.0
- testing-1.0.9
- 5.3.1
- 4.0.0
- 3.0.2
- 3.0.0
- 2.1.3
- 2.1.2
- 2.1.1
- 2.1.1
- 2.1.0
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- v0.0.2
- v0.0.1
- v.0.0.1
π XML parser and stringifier
β¨ Features
- Based on quick-xml rust package (compiled to WASM)
- Support
XML.parse
andXML.stringify
- Support
<!-- -->
comments - Support XML entities (
&
,&
,&
, β¦) - Support mixed content (text and nodes)
- Large output transformation options
- Auto-flattening of nodes with a single child, text or attributes
- Auto-revival of
boolean
,number
, etc. - Auto-group same-named nodes into arrays
- Formatting options (indentation, break lines, etc.)
- Custom
reviver
andreplacer
functions
- Metadata stored into non-enumerable properties for advanced usage
π License and credits
Copyright (c) Lecoq Simon <@lowlighter>. (MIT License)
https://github.com/lowlighter/libs/blob/main/LICENSE
This library used to be published at deno.land/x/xml and jsr.io/@lowlighter/xml. It was moved into jsr.io/@libs/xml starting version 5.0.0
.
Version prior to 5.0.0
used to be fully written in TypeScript but it was rewritten in Rust to improve performances and support more features.