DEV Community

Discussion on: Here is a little script to grab a list of all font names on Google Fonts.

 
ycmjason profile image
YCM Jason • Edited

Hmm, I haven't look into jq yet, but I don't feel that jq is very easy to use from what I have scanned through.

Maybe I will start another project that makes json manipulation easier for people who are familiar with Javascript. Something like this is in my mind:

echo something.json | jsonpipe 'it.map(obj => obj.value).filter(v => v > 30)'

This would be much more easier for people who are familiar with Javascript already.

Thread Thread
 
jonasws profile image
Jonas Strømsodd • Edited

I guess jq has a bit of a learning curve. Something like awk, but with JavaScript syntax, I think could be useful to many JavaScript developers!

Thread Thread
 
ycmjason profile image
YCM Jason

Stay tuned. I will make one. :P

Thread Thread
 
ycmjason profile image
YCM Jason

looks like something similar exists.

npmjs.com/package/json

Thread Thread
 
jonasws profile image
Jonas Strømsodd

Nice, I will have to check it out!