@andreydem0505/jql
v1.0.0
Published
JSON Query Language for humans
Downloads
88
Maintainers
Readme
JQL
JSON Query Language for humans
JQL transforms JSON files with concise and readable queries
Read the JQL documentation
Installation
npm install --global @andreydem0505/jqlUsage
Given customers.json:
[
{"name": "Amina", "email": "[email protected]", "city": "Berlin"},
{"name": "Jon", "email": "[email protected]", "city": "London"}
]Run:
jql "select {name, email} from 'customers.json'"Result:
[
{"name": "Amina", "email": "[email protected]"},
{"name": "Jon", "email": "[email protected]"}
]Interactive mode
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'Contributing
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.
