fast-xml-builder
Build XML from JSON without C/C++ based libraries
Last updated 25 days ago by amitgupta .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install fast-xml-builder 
SYNC missed versions from official npm registry.

fast-xml-builder

Build XML from JSON

XML Builder was the part of fast-xml-parser for years. But considering that any bug in parser may false-alarm the users who are only using builder, we have decided to split it into a separate package.

Installation

npm install fast-xml-builder

Usage

import XMLBuilder from 'fast-xml-builder';

const builder = new XMLBuilder();
const xml = builder.build({ name: 'value' });

fast-xml-builder fully support the response generated by fast-xml-parser. So you can use the maximum options as you are using for fast-xml-parser like preserveOrder, ignoreAttributes, attributeNamePrefix, textNodeName, cdataTagName, cdataPositionChar, format, indentBy, suppressEmptyNode and many more. Any change in parser will reflect here time to time.

Current Tags

  • 1.1.4                                ...           latest (25 days ago)

6 Versions

  • 1.1.4                                ...           25 days ago
  • 1.1.3                                ...           a month ago
  • 1.1.2                                ...           a month ago
  • 1.1.1                                ...           a month ago
  • 1.1.0                                ...           a month ago
  • 1.0.0                                ...           2 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 3
Dependencies (1)
Dev Dependencies (16)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |