Leonidas-from-XIV / node-xml2js

XML to JavaScript object converter.
MIT License
4.84k stars 598 forks source link

Use single quotes in export #636

Open probert94 opened 2 years ago

probert94 commented 2 years ago

I use xml2js to generate xml files. Since I use double quotes inside my attribute values, I would like to use single quotes to surround the attribute values. As I couldn't find any option to do this, I currently need to patch the library every time I reinstall it. It would be cool, if the renderOpts include something like quoting: "single" | "double".