Catalog app · RISC-V VM
Run jql in the browser
A JSON query tool with a small, quote-based selector syntax.
Try it live
Nothing is downloaded until you press Run.
Check the installed jql build
Installs jql 8.1.2 from the signed catalog (every chunk is verified before it is written), then runs the commands below in the VM's shell.
bash
jql --version jql --help | head -n 3
Expected output
$ jql --version jql 8.1.2 $ jql --help | head -n 3 jql - JSON Query Language - is a fast and simple command-line tool to manipulate JSON data. Usage: jql [OPTIONS] [QUERY] [OPTIONAL_FILE]
What it is
jql selects and filters JSON with selectors such as "key", [0], ranges and |> pipes, aiming for something simpler to type than jq for everyday lookups.
Package facts
- version
8.1.2- runs on
- RISC-V VM (
elf-app,riscv64gc-linux-musl) - download
- 520 kB compressed · 1 file
- command
jql- requires
- nothing else — a static binary
- license
MIT OR Apache-2.0(upstream)- upstream
- github.com/yamafaktory/jql
- categories
- Data
- catalog
- generation 12, Ed25519-signed
Install and run it from your page
With the SDK, installApp resolves jql in the signed index, fetches its content-addressed chunks from the CDN, verifies each one and writes the files into the VM. Details in Installing catalog apps.
javascript
import { createNano } from "@userland-run/nano-sdk";
const nano = await createNano({ image: { wasm: "/nano/console.wasm" }, ramMB: 512 });
await nano.installApp("jql"); // signature-verified, cached in OPFS
const r = await nano.shExec("jql --version");
console.log(r.stdout);Typical usage of the upstream command-line tool:
bash
jql '"deps"' package.json
Caveats
- On NanoVM v0.2.1 its real work did not finish within the live sample's 2-billion-instruction budget in our tests (it parallelises with threads, which NanoVM schedules cooperatively), so the live sample only checks the installed build.
Related apps
- jaq3.1.0Query and transform JSON with jq syntax, with a focus on correctness and speed.RISC-V VM1.9 MB
- gron0.7.1Flatten JSON into one assignment per line so it can be searched with grep — and turn it back.RISC-V VM2.5 MB
- dasel3.11.1Select, put and delete data in JSON, YAML, TOML, XML, CSV and more with a single selector syntax.RISC-V VM3.7 MB