3 ms·
I was thinking: "oh, this is the kind of product I wanted to create when I first made https://github.com/fiatjaf/jq-web https://github.com/fiatjaf/jq-web ", the
by fiatjaf 9y ago
I was thinking: "oh, this is the kind of product I wanted to create when I first made https://github.com/fiatjaf/jq-web https://github.com/fiatjaf/jq-web ", then I kept reading and found the following line: "you can use jq queries in your YAML file".
Turns out it is using my jq/emscripten wrapper. Pure magic of the destiny.
- kantord 9y agoThanks for creating jq-web :-) Without jq-web I would probably never even have started building this. By the way I'm also working on a Javascript jq port. The main reason I'm doing that is that I want to reduce file size. Here's the repo in case you want to take a look at it. https://github.com/kantord/jq-in-the-browser https://github.com/kantord/jq-in-the-browser
- fiatjaf 9y agoAmazing. I initially didn't think it would be as powerful as jq. I've seen many people claiming to be doing "jq in Javascript", but they were only implementing the path searching part. Yours is truly amazing, it implements all the filters and the quirks of | syntax. I'll watch it. About the jq-web size, it is greatly reduced in the minified version, but much better is the WASM version, not much for the size, but for the speed. Things are probably 10x or more faster there.