xml
Format XML.
API
indent(line).by(tabs)
line
: string to indent
tabs
: number of tabs to indent the string by
prettify(xml)
xml
: string of XML to split into multiple indented lines
Format XML.
indent(line).by(tabs)
line
: string to indent
tabs
: number of tabs to indent the string by
prettify(xml)
xml
: string of XML to split into multiple indented lines
npm i @ryel/xml
0
2.0.1
MIT
7.38 kB
5