News for hackers. Stuff that matters.
Re:Show HN: jql – Easier jq Alternative with a Lispy Syntax ... by pololee on Tuesday January 07, 2020 @04:00PM (#21984791)
I have used fx for a few days and enjoyed it. https://github.com/antonmedv/fx

Highlights - interactive mode - Use full power of JavaScript.

$ curl ... | fx '.filter(x => x.startsWith("a"))'

- Access all lodash (or ramda, etc) methods by using .fxrc file.

$ curl ... | fx '_.groupBy("commit.committer.name")' '_.mapValues(_.size)'

Re:Show HN: jql – Easier jq Alternative with a Lispy Syntax ... by cube2222 on Tuesday January 07, 2020 @04:07PM (#21984863)
I've seen fx recently and it looks very interesting. jql is obviously not as feature-rich, but you can achieve interactivity with fzf!

  echo '' | fzf --print-query --preview-window wrap --preview 'cat test.json | jql {q}'