jqe

1.0.2 • Public • Published

JQE

Like JQ, but you use javascript Expressions.

  1. Stdin is parsed as JSON and passed into your expression as the variable data.
  2. Your expression is evaluated and written to stdout as JSON.

Example

$ cat mydata.json | jqe 'data.rows.filter(r => r.statusCode === 200).map(r => r.responseTime)'
[
  ...JSON...
]

Readme

Keywords

none

Package Sidebar

Install

npm i jqe

Weekly Downloads

2

Version

1.0.2

License

none

Unpacked Size

7.02 kB

Total Files

12

Last publish

Collaborators

  • vilterp