Open Collective logo
Open Collective

fast-xml-parser

Fast pure JS implementation of XML parser

Contribute


Become a financial contributor.

Financial Contributions

Recurring contribution
Backer

Support us to sustain and maintain

$5 USD / month

Latest activity by


Recurring contribution
Supporter

If Fast XML Parser makes your code fast, and your life less painful, you can become a supporter of its ongoing development. You'll also be highligh... Read more

$20 USD / month

Recurring contribution
Sponsor

Become a sponsor and get your logo on our README on Github with a link to your site. You'll also be highlighted as sponsor on http://amitkumargupta... Read more

$100 USD / month

Custom contribution
Donation
Make a custom one-time or recurring contribution.

Latest activity by


+ 2

Top financial contributors

Individuals

1
anonymous

$55 USD since Feb 2018

2
Guest

$20 USD since Dec 2021

3
anonymous

$10 USD since Sep 2018

4
Alexandre Drean

$10 USD since Oct 2018

Organizations

1
Sentry

$100 USD since Oct 2021

fast-xml-parser is all of us

Our contributors 7

Thank you for supporting fast-xml-parser.

Sentry

$100 USD

anonymous

backer

$55 USD

Guest

$20 USD

anonymous

$10 USD

Guest

Budget


Transparent and open finances.

Financial contribution to fast-xml-parser

Credit from Guest to fast-xml-parser

+$20.00USD
Completed
Contribution
Financial contribution to fast-xml-parser

Credit from Sentry to fast-xml-parser

+$100.00USD
Completed
Contribution
Refund of "Financial contribution to fast-xml-parser"

Debit from fast-xml-parser to Guest

-$0.50USD
Completed
Contribution
$
Today’s balance

$112.33 USD

Total raised

$167.33 USD

Total disbursed

$55.00 USD

Estimated annual budget

$118.83 USD

Connect


Let’s get the ball rolling!

News from fast-xml-parser

Updates on our activities and progress.

v4 is on the way

FXP v4 beta is already live with many most awaiting features. Likepreserve order of XML tagsparsing a tag in an array even if single occurrence presentsbetter version of stopNodesMust customization possible with tag and attribute value proc...
Read more
Published on December 18, 2021 by Amit Gupta

Support Stop nodes

Accept the list of tags which are not required to be parsed. Instead, all the nested tag and data will be assigned as string.
Read more
Published on March 23, 2019 by Amit Gupta

About


Features

  • Validate XML data syntactically
  • Transform XML to JSON or Nimn
  • Transform JSON back to XML
  • Works with node packages, in browser, and in CLI (press try me button above for demo)
  • Faster than any pure JS implementation.
  • It can handle big files (tested up to 100mb).

Various options are available to customize the transformation

  • You can parse CDATA as separate property.
  • You can prefix attributes or group them to separate property. Or can ignore them from result completely.
  • You can parse tag's or attribute's value to primitive type: string, integer, float, or boolean. And can optionally decode for HTML char.
  • You can remove namespace from tag or attribute name while parsing
  • It also supports boolean attributes.

Our team