@ryel/xml

2.0.1 • Public • Published

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

Package Sidebar

Install

npm i @ryel/xml

Weekly Downloads

0

Version

2.0.1

License

MIT

Unpacked Size

7.38 kB

Total Files

5

Last publish

Collaborators

  • ryel