transformer.jsonml-to-xml-string
v0.0.2
Published
transformer conversion: jsonml to xml-string
Downloads
5
Maintainers
Readme
transformer.jsonml-to-xml-string
Transformer conversion: jsonml to xml-string
This module is a transformer conversion, published on npm. Read more about transformer at:
- the transformer website: http://transform.datadex.io
- the transformer repository: http://github.com/jbenet/transformer
Usage
Use this module through transformer.
Commandline
> echo '<SAMPLE INPUT>' | transform jsonml xml-string
<SAMPLE OUTPUT>
Javascript
var transformer = require('dat-transformer');
var tJsonmlToXmlString = transformer('jsonml', 'xml-string');
tJsonmlToXmlString('<SAMPLE INPUT>'); // '<SAMPLE OUTPUT>'