@npmcli/query
Version:
npm query parser and tools
17 lines (10 loc) • 454 B
Markdown
Parser and tools for `npm query`.
The `parser` method receives a query `string` and parses that string using
[`postcss-selector-parser`](https://www.npmjs.com/package/postcss-selector-parser),
it then modifies the returned ast to include information that is then essential
to translate that structure into navigating
[](https://github.com/npm/cli/tree/latest/workspaces/arborist).
[](./LICENSE)