tree-sitter-typescript
TypeScript and TSX grammars for tree-sitter
Last updated a year ago by maxbrunsfeld .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install tree-sitter-typescript 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.23.2                                ...           latest (a year ago)

37 Versions

  • 0.23.2                                ...           a year ago
  • 0.23.1                                ...           a year ago
  • 0.23.0                                ...           2 years ago
  • 0.21.2                                ...           2 years ago
  • 0.21.1                                ...           2 years ago
  • 0.20.5                                ...           2 years ago
  • 0.20.4                                ...           2 years ago
  • 0.20.3                                ...           3 years ago
  • 0.20.1                                ...           4 years ago
  • 0.19.0                                ...           5 years ago
  • 0.16.3                                ...           5 years ago
  • 0.16.1                                ...           6 years ago
  • 0.16.0                                ...           6 years ago
  • 0.15.2                                ...           6 years ago
  • 0.15.1                                ...           7 years ago
  • 0.15.0                                ...           7 years ago
  • 0.14.0                                ...           7 years ago
  • 0.13.6                                ...           7 years ago
  • 0.13.5                                ...           7 years ago
  • 0.13.4                                ...           8 years ago
  • 0.13.3                                ...           8 years ago
  • 0.13.2                                ...           8 years ago
  • 0.13.1                                ...           8 years ago
  • 0.13.0                                ...           8 years ago
  • 0.12.0                                ...           8 years ago
  • 0.11.0                                ...           8 years ago
  • 0.7.0                                ...           8 years ago
  • 0.6.2                                ...           8 years ago
  • 0.6.1                                ...           8 years ago
  • 0.6.0                                ...           8 years ago
  • 0.5.0                                ...           8 years ago
  • 0.4.4                                ...           8 years ago
  • 0.4.3                                ...           8 years ago
  • 0.4.2                                ...           8 years ago
  • 0.4.1                                ...           8 years ago
  • 0.2.0                                ...           9 years ago
  • 0.1.0                                ...           9 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (4)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |