fast-xml-parser
5.12.1 · 13 Nov 2026MIT118.5M / weekRepositoryHomepagenpmAtom feed
195 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 4.x
4.0.5
6 Mar 2022Reading the note…
4.0.4
3 Mar 2022Reading the note…
4.0.3
15 Feb 2022Reading the note…
4.0.2
4 Feb 2022Reading the note…
4.0.1
8 Jan 2022Reading the note…
4.0.0
6 Jan 2022Generating different combined, parser only, builder only, validator only browser bundles
Keeping cjs modules as they can be imported in cjs and esm modules both. Otherwise refer
esmbranch.Call tagValueProcessor for stop nodes
Generating different combined, parser only, builder only, validator only browser bundles
Keeping cjs modules as they can be imported in cjs and esm modules both. Otherwise refer
esmbranch.
4.0.0-beta.8 / 2021-12-13
Call tagValueProcessor for stop nodes
4.0.0-beta.7 / 2021-12-09
Fix Validator bug when an attribute has no value but '=' only
XML Builder should suppress unpaired tags by default.
Documents update for missing features
Refactoring to use Object.assign
Refactoring to remove repeated code
4.0.0-beta.6 / 2021-12-05
Support PI Tags processing
Support
suppressBooleanAttributesby XML Builder for attributes with valuetrue.
4.0.0-beta.5 / 2021-12-04
When a tag with name "attributes"
4.0.0-beta.4 / 2021-12-02
Support HTML document parsing
Skip stop nodes parsing when building the XML from JS object
Support external entites without DOCTYPE
Update dev dependency: strnum v1.0.5 to fix long number issue
4.0.0-beta.3 / 2021-11-30
Support global stopNodes expression like "*.stop"
Support self-closing and paired unpaired tags
CDATA should not be parsed.
Fix typings for XMLBuilder (#396)(By Anders Emil Salvesen)
Supports XML entities, HTML entities, DOCTYPE entities
⚠️ 4.0.0-beta.2 / 2021-11-19
Rename
attrMaptoattibutesin parser output whenpreserveOrder:trueSupports unpairedTags
⚠️ 4.0.0-beta.1 / 2021-11-18
Parser returns an array now
to make the structure common
and to return root level detail
Renamed
cdataTagNametocdataPropNameAdded
commentPropNameFix typings
⚠️ 4.0.0-beta.0 / 2021-11-16
Name change of many configuration properties.
attrNodeNametoattributesGroupNameattrValueProcessortoattributeValueProcessorparseNodeValuetoparseTagValueignoreNameSpacetoremoveNSPrefixnumParseOptionstonumberParseOptionsspelling correction for
suppressEmptyNode
Name change of cli and browser bundle to fxparser
isArrayoption is added to parse a tag into arraypreserveOrderoption is added to render XML in such a way that the result js Object maintains the order of properties same as in XML.Processing behaviour of
tagValueProcessorandattributeValueProcessorare changes with extra input parametersj2xparser is renamed to XMLBuilder.
You need to build XML parser instance for given options first before parsing XML.
Fix #327, #336: throw error when extra text after XML content
Fix #330: attribute value can have '\n',
Fix #350: attributes can be separated by '\n' from tagname
- 3.x
3.21.1
31 Oct 2021Reading the note…
3.21.0
25 Oct 2021Reading the note…
3.20.3
25 Sep 2021Reading the note…
3.20.0
10 Sep 2021Reading the note…
3.19.0
14 Mar 2021Reading the note…
3.18.0
5 Feb 2021Reading the note…
3.17.6
27 Dec 2020Reading the note…
3.17.5
3 Dec 2020Reading the note…
3.17.4
8 Jun 2020Reading the note…
3.17.3
27 May 2020Reading the note…
3.17.2
23 May 2020Reading the note…
3.17.1
19 May 2020Reading the note…
3.17.0
18 May 2020Reading the note…
3.16.0
12 Jan 2020Reading the note…
3.15.1
9 Dec 2019Reading the note…
3.15.0
24 Nov 2019Reading the note…
3.14.0
25 Oct 2019Reading the note…
3.13.0
2 Oct 2019Reading the note…
3.12.21
2 Oct 2019Reading the note…
3.12.20
16 Aug 2019Reading the note…
3.12.19
28 Jul 2019Reading the note…
3.12.18
27 Jul 2019Reading the note…
3.12.17
14 Jul 2019Reading the note…
3.12.16
23 Mar 2019Reading the note…
3.12.14
6 Mar 2019Reading the note…
3.12.13
10 Feb 2019Reading the note…
3.12.12
11 Jan 2019Reading the note…
3.12.11
24 Dec 2018Reading the note…
3.12.10
1 Dec 2018Reading the note…
3.12.9
23 Nov 2018Reading the note…
3.12.8
22 Nov 2018Reading the note…
3.12.7
10 Nov 2018Reading the note…
3.12.5
12 Sep 2018Reading the note…
3.12.4
12 Sep 2018Reading the note…
3.12.3
11 Sep 2018Reading the note…
3.12.2
11 Sep 2018Reading the note…
3.12.0
6 Aug 2018Reading the note…
3.11.2
23 Jul 2018Reading the note…
3.11.1
5 Jun 2018Reading the note…
3.11.0
20 May 2018Reading the note…
3.10.0
13 May 2018Reading the note…
3.9.11
9 May 2018Reading the note…
3.9.10
24 Apr 2018Reading the note…
3.3.9
19 Apr 2018Reading the note…
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.