DEV Community

Discussion on: Using npm's `ls` command for Fun and Insight

Collapse
 
bnb profile image
Tierney Cyren

As far as I know, not currently. If you were absolutely dead-set on doing this, you could output the command text to a file and then grep that file (or use JSON output and then parse the JSON with jq).