Friday, 12 April 2024

New Show Hacker News story: latest news

Show HN: A Simple XML and Feed Parser Written in TypeScript
2 by parabyl | 0 comments on Hacker News.
I had some fun a while back writing this XML parser in Typescript, after taking interest in tokenisation and compilers. You can try it out in your own Javascript projects with a simple `npm install xml-trap` and you're good to go! The tokenizer used internally is also exposed (with `createTree`) for anyone to explore and have fun with. Contributions are welcome!

No comments:

Post a Comment