sephera_graph_javascript
sephera_graph_javascript is TypeScript and JavaScript import extraction and resolution.
You want it when you are building a resolver and JS or TS is one of the languages it handles. One crate serves both, because only the grammar differs, and the node kinds mean the same thing in each. The traps are a from inside the braces of an import and a require('pkg')() whose trailing () survives naive trimming.
Most users should install the CLI
The CLI is the finished tool: argument parsing, rendering, and a graph over all eight supported languages, with no API to learn. Install this crate directly only if you are building something on top of Sephera's internals.
What it depends on
sephera_coresephera_compressionsephera_symbols
sephera_core is the one every crate shares. It holds the plugin traits,
the graph's types, the declaration index and the path helpers -- the
vocabulary rather than the analysis, because the six language crates have
to be able to name it.
- Documentation: https://docs.rs/sephera_graph_javascript
- Repository: https://github.com/Reim-developer/Sephera
- Site: https://sephera.vercel.app