The command-line program for tree-sitter-stack-graphs-javascript lets you do stack graph based analysis and lookup from the command line. The CLI can be run as follows: (Installed) Install the CLI ...
This module provides Node.js bindings to the [tree-sitter] parsing library. First, you'll need a Tree-sitter grammar for the language you want to parse. There are many existing grammars, such as ...