This release is a pre-release and may not be stable for production use.
rbtr-lang-javascript
JavaScript, TypeScript, and TSX support for rbtr. A default
plugin — installed with rbtr itself (pip install rbtr).
What it ingests
One plugin, three ids across two grammars: javascript (.js / .mjs /
.jsx), typescript (.ts), and tsx (.tsx). A symbol's leading JSDoc is
folded into its chunk content.
- Functions — declarations, generators, and arrow functions bound to a const; class/object methods (class members scoped to their class).
- Classes — classes, and TypeScript interfaces, enums, type aliases, and namespaces (a namespace also scopes its members).
- Variables — module-level
const/let(including destructuring). - Re-exports —
export * from "./c"andexport { x } from "./b"read from another module, so they resolve as imports do. A consumer reaches a symbol through them without ever naming the file that defines it. - Imports —
import,import type, namespace, default, and side-effect imports → import chunks with resolved module + names, for cross-file edges.
Chunks produced
function greet(name) { … } // function "greet"
const add = (a, b) => a + b; // function "add"
class Button { render() {} } // class "Button"; method "render" scope "Button"
export const MAX = 100; // variable "MAX"
import { x } from "./x"; // import, metadata {module: "./x", names: "x"}
Embedded / injected chunks
None of its own — JavaScript/TypeScript are embedded by the HTML, Markdown,
and SFC (Vue/Svelte) plugins, which delegate <script> blocks and fenced code
here.
Grammar & dependencies
Uses the tree-sitter-javascript and tree-sitter-typescript grammars. No
runtime dependency on other language plugins; the test suite dev-depends on
rbtr-lang-css so the sample's styles.css extracts and the cross-file edges
snapshot.
Metadata
Release files for rbtr-lang-javascript 2026.9.0.dev1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rbtr_lang_javascript-2026.9.0.dev1.tar.gz | 18.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rbtr_lang_javascript-2026.9.0.dev1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 47.2 kB
Release files / rbtr_lang_javascript-2026.9.0.dev1.tar.gz
| Download URL | rbtr_lang_javascript-2026.9.0.dev1.tar.gz |
|---|---|
| Size | 18.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e458fd65f8ccdae5acaa6aa4244c317e17beec06505665c9ee4d744d3c0a5d43
|
|
BLAKE2b-256 checksum How to use checksums |
a97ef5c25b304ad717709402e3cfc8a509f8996e6113e056e3003739b0180890
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / rbtr_lang_javascript-2026.9.0.dev1-py3-none-any.whl
| Download URL | rbtr_lang_javascript-2026.9.0.dev1-py3-none-any.whl |
|---|---|
| Size | 28.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a57ecedb98606a5b1d4d4abed61a80ca25a31cd803cc8cd0dc55c87b13c3c4ea
|
|
BLAKE2b-256 checksum How to use checksums |
a8189bf25e4304422a3dcc365205535fb7b4c18633211fc6ea210ab7ece3bbd0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|