Skip to main content

TypeScript and TSX grammars for tree-sitter

Project description

tree-sitter-typescript

CI discord matrix crates npm pypi

TypeScript and TSX grammars for tree-sitter.

Because TSX and TypeScript are actually two different dialects, this module defines two grammars. Require them as follows:

require("tree-sitter-typescript").typescript; // TypeScript grammar
require("tree-sitter-typescript").tsx; // TSX grammar

For Javascript files with flow type annotations you can use the tsx parser.

References

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tree_sitter_typescript-0.23.2.tar.gz (773.1 kB view details)

Uploaded Source

Built Distributions

tree_sitter_typescript-0.23.2-cp39-abi3-win_arm64.whl (274.1 kB view details)

Uploaded CPython 3.9+ Windows ARM64

tree_sitter_typescript-0.23.2-cp39-abi3-win_amd64.whl (278.0 kB view details)

Uploaded CPython 3.9+ Windows x86-64

tree_sitter_typescript-0.23.2-cp39-abi3-musllinux_1_2_x86_64.whl (340.2 kB view details)

Uploaded CPython 3.9+ musllinux: musl 1.2+ x86-64

tree_sitter_typescript-0.23.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (352.0 kB view details)

Uploaded CPython 3.9+ manylinux: glibc 2.17+ ARM64

tree_sitter_typescript-0.23.2-cp39-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (345.0 kB view details)

Uploaded CPython 3.9+ manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

tree_sitter_typescript-0.23.2-cp39-abi3-macosx_11_0_arm64.whl (302.0 kB view details)

Uploaded CPython 3.9+ macOS 11.0+ ARM64

tree_sitter_typescript-0.23.2-cp39-abi3-macosx_10_9_x86_64.whl (286.7 kB view details)

Uploaded CPython 3.9+ macOS 10.9+ x86-64

File details

Details for the file tree_sitter_typescript-0.23.2.tar.gz.

File metadata

File hashes

Hashes for tree_sitter_typescript-0.23.2.tar.gz
Algorithm Hash digest
SHA256 7b167b5827c882261cb7a50dfa0fb567975f9b315e87ed87ad0a0a3aedb3834d
MD5 7475404e658e88b24335d47854488304
BLAKE2b-256 1efcbb52958f7e399250aee093751e9373a6311cadbe76b6e0d109b853757f35

See more details on using hashes here.

File details

Details for the file tree_sitter_typescript-0.23.2-cp39-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for tree_sitter_typescript-0.23.2-cp39-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 05db58f70b95ef0ea126db5560f3775692f609589ed6f8dd0af84b7f19f1cbb7
MD5 dc055360e89547fbcb14dcff7e77155a
BLAKE2b-256 9fe481f9a935789233cf412a0ed5fe04c883841d2c8fb0b7e075958a35c65032

See more details on using hashes here.

File details

Details for the file tree_sitter_typescript-0.23.2-cp39-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for tree_sitter_typescript-0.23.2-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 3f730b66396bc3e11811e4465c41ee45d9e9edd6de355a58bbbc49fa770da8f9
MD5 fb3543e5dc0498098822360d7fcd278e
BLAKE2b-256 8babdd84f0e2337296a5f09749f7b5483215d75c8fa9e33738522e5ed81f7254

See more details on using hashes here.

File details

Details for the file tree_sitter_typescript-0.23.2-cp39-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter_typescript-0.23.2-cp39-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8d4f0f9bcb61ad7b7509d49a1565ff2cc363863644a234e1e0fe10960e55aea0
MD5 8979f61d062aa44389e7979d64414ee1
BLAKE2b-256 7fcbf57b149d7beed1a85b8266d0c60ebe4c46e79c9ba56bc17b898e17daf88e

See more details on using hashes here.

File details

Details for the file tree_sitter_typescript-0.23.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for tree_sitter_typescript-0.23.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 4b1eed5b0b3a8134e86126b00b743d667ec27c63fc9de1b7bb23168803879e31
MD5 024f1fa69565a387e990ca3f2f3fffa6
BLAKE2b-256 962d975c2dad292aa9994f982eb0b69cc6fda0223e4b6c4ea714550477d8ec3a

See more details on using hashes here.

File details

Details for the file tree_sitter_typescript-0.23.2-cp39-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter_typescript-0.23.2-cp39-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e96d36b85bcacdeb8ff5c2618d75593ef12ebaf1b4eace3477e2bdb2abb1752c
MD5 4bd97a5b2e069e99949572a595524740
BLAKE2b-256 49d1a71c36da6e2b8a4ed5e2970819b86ef13ba77ac40d9e333cb17df6a2c5db

See more details on using hashes here.

File details

Details for the file tree_sitter_typescript-0.23.2-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tree_sitter_typescript-0.23.2-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c7cc1b0ff5d91bac863b0e38b1578d5505e718156c9db577c8baea2557f66de8
MD5 4765821297184933131f7d55f7638c16
BLAKE2b-256 8f2f1f36fda564518d84593f2740d5905ac127d590baf5c5753cef2a88a89c15

See more details on using hashes here.

File details

Details for the file tree_sitter_typescript-0.23.2-cp39-abi3-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter_typescript-0.23.2-cp39-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 3cd752d70d8e5371fdac6a9a4df9d8924b63b6998d268586f7d374c9fba2a478
MD5 71368ce9a9ad396a8ce190d439f94278
BLAKE2b-256 28954c00680866280e008e81dd621fd4d3f54aa3dad1b76b857a19da1b2cc426

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page