cheerio
The fast, flexible & elegant library for parsing and manipulating HTML and XML.
fast-xml-parser
Validate XML, Parse XML, Build XML without C/C++ based libraries
xml2js
Simple XML to JavaScript object converter.
file-type
Detect the file type of a file, stream, or data