@saucerjs/xml
TypeScript icon, indicating that this package has built-in type declarations

0.1.11 • Public • Published

@saucerjs/xml

Install

npm install @saucerjs/xml

OR

yarn add @saucerjs/xml

Usage

import { serializeToXML } from '@saucerjs/xml';

const xml = serializeToXML(ast);

Special Attrs

@saucerjs/xml will ignore attrs which start with '_'

And have some special logic for those attrs.

  • _childrenText: This attrs will serialize to xml children text. Its useful for a saucer leaf node to render children text

Readme

Keywords

none

Package Sidebar

Install

npm i @saucerjs/xml

Weekly Downloads

1

Version

0.1.11

License

MIT

Unpacked Size

18.5 kB

Total Files

15

Last publish

Collaborators

  • moonrailgun