@xberg-io/tree-sitter-language-pack 1.13.7 → 1.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/index.d.ts +3 -3
- package/package.json +10 -10
- package/ts-pack-core-node.darwin-arm64.node +0 -0
- package/ts-pack-core-node.darwin-x64.node +0 -0
- package/ts-pack-core-node.linux-arm64-gnu.node +0 -0
- package/ts-pack-core-node.linux-arm64-musl.node +0 -0
- package/ts-pack-core-node.linux-x64-gnu.node +0 -0
- package/ts-pack-core-node.linux-x64-musl.node +0 -0
- package/ts-pack-core-node.win32-arm64-msvc.node +0 -0
- package/ts-pack-core-node.win32-x64-msvc.node +0 -0
package/README.md
CHANGED
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
</a>
|
|
96
96
|
</div>
|
|
97
97
|
|
|
98
|
-
Pre-compiled tree-sitter grammars for
|
|
98
|
+
Pre-compiled tree-sitter grammars for 371 programming languages with TypeScript types.
|
|
99
99
|
|
|
100
100
|
## What This Package Provides
|
|
101
101
|
|
|
@@ -123,7 +123,7 @@ console.log(tree.rootNode.toString());
|
|
|
123
123
|
|
|
124
124
|
## Features
|
|
125
125
|
|
|
126
|
-
- **
|
|
126
|
+
- **371 languages** — pre-compiled tree-sitter grammars covering every major programming language and many minor ones.
|
|
127
127
|
- **On-demand download + cache** — parsers fetched at first use; subsequent runs hit the local cache.
|
|
128
128
|
- **Code intelligence** — extract functions, classes, imports, exports, symbols, docstrings, and diagnostics with one API.
|
|
129
129
|
- **Syntax-aware chunking** — semantic chunks for RAG/LLM pipelines.
|
|
@@ -136,11 +136,11 @@ console.log(tree.rootNode.toString());
|
|
|
136
136
|
|
|
137
137
|
## Part of Xberg
|
|
138
138
|
|
|
139
|
-
- [Xberg](https://github.com/xberg-io/xberg) — document intelligence: text, tables, metadata from
|
|
139
|
+
- [Xberg](https://github.com/xberg-io/xberg) — document intelligence: text, tables, metadata from 101 formats with optional OCR.
|
|
140
140
|
- [Xberg Enterprise](https://github.com/xberg-io/xberg-enterprise) — managed extraction API with SDKs, dashboards, and observability.
|
|
141
141
|
- [crawlberg](https://github.com/xberg-io/crawlberg) — web crawling and scraping with HTML→Markdown and headless-Chrome fallback.
|
|
142
142
|
- [html-to-markdown](https://github.com/xberg-io/html-to-markdown) — fast, lossless HTML→Markdown engine.
|
|
143
|
-
- [liter-llm](https://github.com/xberg-io/liter-llm) — universal LLM API client with native bindings for 14 languages and
|
|
143
|
+
- [liter-llm](https://github.com/xberg-io/liter-llm) — universal LLM API client with native bindings for 14 languages and 165 providers.
|
|
144
144
|
- [alef](https://github.com/xberg-io/alef) — the polyglot binding generator that produces this README and all per-language bindings.
|
|
145
145
|
- [Discord](https://discord.gg/xt9WY3GnKR) — community, roadmap, announcements.
|
|
146
146
|
|
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// This file is auto-generated by alef — DO NOT EDIT.
|
|
2
|
-
// alef:hash:
|
|
2
|
+
// alef:hash:06b7e9837480f9546074f03a8ab51fc33c076fb21172ba97a5ab4acce8043a13
|
|
3
3
|
// To regenerate: alef generate
|
|
4
4
|
// To verify freshness: alef verify --exit-code
|
|
5
5
|
/* eslint-disable */
|
|
@@ -601,7 +601,7 @@ export declare class LanguageRegistry {
|
|
|
601
601
|
* Returns `true` only when the grammar was compiled in at build time
|
|
602
602
|
* (i.e. it appears in the `STATIC_LANGUAGES` table). This is independent
|
|
603
603
|
* of the extension-to-language mapping: `detect_language_from_extension`
|
|
604
|
-
* consults the static ext table for all
|
|
604
|
+
* consults the static ext table for all 371 grammars regardless of which
|
|
605
605
|
* parsers are compiled in.
|
|
606
606
|
*
|
|
607
607
|
* Use this when you need to distinguish "we know the language name" from
|
|
@@ -1021,7 +1021,7 @@ export declare class TreeCursor {
|
|
|
1021
1021
|
export declare function languageCount(): number;
|
|
1022
1022
|
|
|
1023
1023
|
/**
|
|
1024
|
-
* Return all language names available in the remote manifest (
|
|
1024
|
+
* Return all language names available in the remote manifest (371).
|
|
1025
1025
|
*
|
|
1026
1026
|
* Fetches (and caches) the remote manifest to discover the full list of
|
|
1027
1027
|
* downloadable languages. Use [`downloaded_languages`] to list what is
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xberg-io/tree-sitter-language-pack",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "Pre-compiled tree-sitter grammars for
|
|
3
|
+
"version": "1.14.1",
|
|
4
|
+
"description": "Pre-compiled tree-sitter grammars for 371 programming languages",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -18,14 +18,14 @@
|
|
|
18
18
|
},
|
|
19
19
|
"files": ["index.js", "index.d.ts", "*.node"],
|
|
20
20
|
"optionalDependencies": {
|
|
21
|
-
"@xberg-io/tree-sitter-language-pack-linux-x64-gnu": "1.
|
|
22
|
-
"@xberg-io/tree-sitter-language-pack-linux-arm64-gnu": "1.
|
|
23
|
-
"@xberg-io/tree-sitter-language-pack-linux-x64-musl": "1.
|
|
24
|
-
"@xberg-io/tree-sitter-language-pack-linux-arm64-musl": "1.
|
|
25
|
-
"@xberg-io/tree-sitter-language-pack-darwin-x64": "1.
|
|
26
|
-
"@xberg-io/tree-sitter-language-pack-darwin-arm64": "1.
|
|
27
|
-
"@xberg-io/tree-sitter-language-pack-win32-x64-msvc": "1.
|
|
28
|
-
"@xberg-io/tree-sitter-language-pack-win32-arm64-msvc": "1.
|
|
21
|
+
"@xberg-io/tree-sitter-language-pack-linux-x64-gnu": "1.14.1",
|
|
22
|
+
"@xberg-io/tree-sitter-language-pack-linux-arm64-gnu": "1.14.1",
|
|
23
|
+
"@xberg-io/tree-sitter-language-pack-linux-x64-musl": "1.14.1",
|
|
24
|
+
"@xberg-io/tree-sitter-language-pack-linux-arm64-musl": "1.14.1",
|
|
25
|
+
"@xberg-io/tree-sitter-language-pack-darwin-x64": "1.14.1",
|
|
26
|
+
"@xberg-io/tree-sitter-language-pack-darwin-arm64": "1.14.1",
|
|
27
|
+
"@xberg-io/tree-sitter-language-pack-win32-x64-msvc": "1.14.1",
|
|
28
|
+
"@xberg-io/tree-sitter-language-pack-win32-arm64-msvc": "1.14.1"
|
|
29
29
|
},
|
|
30
30
|
"napi": {
|
|
31
31
|
"packageName": "@xberg-io/tree-sitter-language-pack",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|