---
# System prepended metadata

title: Untitled

---

### Human Readable Output for `npm query`


```bash
$ npm query "*[name^=@npmcli]"
arborist@5.0.0             eslint-config@1.0.0                   
ci-detect@2.0.1            fs@1.0.0
config@4.0.0               git@2.0.0
disparity-colors@1.0.0     installed-package-contents@4.0.0


$ npm query "*[name^=@npmcli]"
- @npmcli/arborist@5.0.0
- @npmcli/arborist@5.0.0:deduped
- @npmcli/arborist@5.0.0:extraneous

$ npm query "*[name^=@npmcli]" | npm ls
$ npm query "*[name^=@npmcli]" --output-template=list

$ npm config set output-template list
$ npm query "*[name^=@npmcli]"
...

$ npm query ... > result.json
```
