-
Notifications
You must be signed in to change notification settings - Fork 604
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Still maintained? #626
Comments
So I don't have much time for this project. I am kinda unhappy about the current state of it (and the absolute nightmare of maintainability and consistency) so my plan has been to rewrite it (while also ditching CoffeeScript — it was useful while it lasted but now things have changed and CoffeeScript fell by the wayside). Hence I am really hesitant about taking in new features because the redesign will probably dump them altogether. But when am I gonna have the time to properly maintain it? Who knows. My personal life TODO list is giant and doesn't show any sign of reducing. |
Ditching CoffeeScript would be 👍 #620 |
No, removing the CoffeeScript source wouldn't do much, it is still a mess with way too high cyclomatic complexity and the output format is still essentially |
I think the even though the output is essentially |
Just my 2 cents: I am using the library, and I am quite happy with it. The only real drawback IMHO is that I can not control which nodes are handled as arrays and which ones are not. Since I need to map the data to an internal typed store anyways, having typed output actually would not be much of an advantage in my scenario. I think this would also apply to many other users. |
I actually prefer plain javascript over TS how?With JSDoc, checkJS + allowJS {
"include": ["*.js"],
"compilerOptions": {
"target": "ES2020",
"lib": ["ES2020", "DOM"],
"module": "ES2020",
"moduleResolution": "node",
"allowJs": true,
"checkJs": true,
"declaration": true,
"emitDeclarationOnly": true,
"allowSyntheticDefaultImports": true,
"skipLibCheck": true
}
} |
I'm gonna hop in here and say that this project is no longer maintained. If anyone has any more up to date alternatives I would love to hear them! |
After quite a bit of searching I found what appears to be a fairly close and seemingly much better maintained replacement: https://github.com/NaturalIntelligence/fast-xml-parser Here's how to use it in a similar but slightly different way from xml2js: import { XMLParser } from "fast-xml-parser";
new XMLParser({
ignoreAttributes: false,
attributeNamePrefix: "",
isArray: (name) => name === "Feature" || name === 'Segment',
}).parse(xmlString); |
Are you looking for maintainers?
there is quite a bit of issues/pr open
The text was updated successfully, but these errors were encountered: