0.1.11 • Published 4 years ago

@saucerjs/xml v0.1.11

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

@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
0.1.11

4 years ago

0.1.10

4 years ago

0.1.9

4 years ago

0.1.8

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago