I was working on this API gateway project where I had to deal with XML-based API and transform to JSON based API for other services to consume. camaro was bornt from that constant need.
The very first attempt was a pure js implementation (xpath-object-transform) but it’s not fast enough for the purpose. Later on, I rewrote from scratch in C++ and it turned out to be quite fast, thanks to pugixml.
In version 4, I use emscripten to compile camaro to WebAssembly which makes it more web-friendly and serverless-friendly.
An attempt to write a super fast, XML compliant SAX parser for Node.js. C++ for performance reason. Available on npm as
The very first attempt to transform XML to JSON. Implemented in pure JS but it’s quite slow. This is more like a proof-of-concept.
prune unneeded files from node_modules, ideal compressing data before uploading to AWS Lambda.
fastText native bindings for Node.js
An example of using camaro to transform XML (OSM data) to JSON.
Another example of showcasing how easy it is to build module to transform XML to JSON with camaro
compress small string using antirez’s smaz.
better YouTube embed tag for jekyll.
various docker images for personal use.
running twemproxy on Kubernetes.
a simple no bullshit jekyll theme.