Skip to main content

codeterrain-typescript

TypeScript and JavaScript for codeterrain: the HTTP calls of a front end, read with tree-sitter, in codeterrain calls and codeterrain callers.

uv tool install "codeterrain[typescript]"
codeterrain calls orders                # GET /v1/orders  src/api/orders.ts:12  client
codeterrain callers POST /v1/orders     # the front-end calls that reach a route

The typescript extra installs this pack beside codeterrain; the command is also installed as terrain. codeterrain doctor lists the installed packs (language packs: typescript 0.1.1). Without the pack, codeterrain calls reads the same files with the core's own tokenizer.

Why install it: it is both more accurate and faster than the tokenizer. It parses the full syntax and resolves names through scopes, and a cold read takes about 0.6 to 0.7 times the tokenizer's time, since a tree-sitter query hands the reader only the nodes it needs. tree-sitter loads on the first front-end file read, so commands that read none barely notice the pack.

The facts are the core's: <receiver>.<verb>(path, ...), fetch(path, {method}) and object literals with a url: path. The syntax tree makes strings, templates, comments, type arguments and assertions, spreads and computed keys exact, and names resolve through scopes: a name is read from the declaration it refers to, so a const url inside a function is that function's, and a parameter hides a module constant of the same name only inside its function. A file tree-sitter cannot parse whole is reported with the lines of its syntax errors, and a call inside one counts as unresolved.

It depends on tree-sitter and the TypeScript and JavaScript grammars, which ship prebuilt wheels for Linux, macOS and Windows; the versions are pinned exactly, since grammars rename nodes between releases. The pack only parses the text it is given: it reads no other file and runs nothing.

Metadata

Release files for codeterrain-typescript 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for codeterrain-typescript 0.1.1
File Size Uploaded Provenance Actions
codeterrain_typescript-0.1.1.tar.gz 14.1 kB With provenance Details for codeterrain_typescript-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for codeterrain-typescript 0.1.1
File Interpreter ABI Platform Actions
codeterrain_typescript-0.1.1-py3-none-any.whl Python 3 none any Details for codeterrain_typescript-0.1.1-py3-none-any.whl

Total release size: 25.3 kB

Release files / codeterrain_typescript-0.1.1.tar.gz

Download URL codeterrain_typescript-0.1.1.tar.gz
Size 14.1 kB
Tags Source
SHA-256 checksum
How to use checksums
bc754ec5f1c4e92577d2bd5970af2e6b749823138a89987c226b5afb42e63fc5
BLAKE2b-256 checksum
How to use checksums
101b4032240f6704dc5f47e90a86de7ade373f313189c7aa12d1b94add0f9b1e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

Release files / codeterrain_typescript-0.1.1-py3-none-any.whl

Download URL codeterrain_typescript-0.1.1-py3-none-any.whl
Size 11.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9e595b51a53456a56015ee3dce2c8253762059591e0758560de1986fa73a85be
BLAKE2b-256 checksum
How to use checksums
d36e0a221de1941a9433bf956544cb5ec59f53a7e50336fa9a0a3a3fefaa1b66
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

Security for codeterrain-typescript 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for codeterrain_typescript-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page