JQL transforms JSON files with concise and readable queries
Read the JQL documentation
npm install --global @andreydem0505/jqlGiven customers.json:
[
{"name": "Amina", "email": "amina@example.com", "city": "Berlin"},
{"name": "Jon", "email": "jon@example.com", "city": "London"}
]Run:
jql "select {name, email} from 'customers.json'"Result:
[
{"name": "Amina", "email": "amina@example.com"},
{"name": "Jon", "email": "jon@example.com"}
]Run jql without a query, then enter one query per line:
jql
Current version: 1.0.0
Enter a JQL query. Type exit or press Ctrl+C to stop.
jql> select {name} from 'customers.json'
Contributions are welcome. Open an issue or pull request with an improvement. If JQL is useful to you, support the project with a GitHub star.