I'd like to have a command line tool that allows me to modify the json with javascript. Does jq provide any feature to process json that it's very difficult/cumbersome to do in js?
Jq allows you to fully transform a json structure. Batteries included. Similar to awk/sed etc you can even write your jq code in a separate file, and point jq to it.