@haybarn/ext-marisa-h1-5-4 202603.29.205852

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.
Files changed (2) hide show
  1. package/README.md +63 -0
  2. package/package.json +41 -0
package/README.md ADDED
@@ -0,0 +1,63 @@
1
+ <p align="center">
2
+ <img src="https://raw.githubusercontent.com/Query-farm-haybarn/.github/haybarn/profile/assets/haybarn-icon.png" alt="Haybarn" width="120" height="120">
3
+ </p>
4
+
5
+ # Haybarn extension: `marisa`
6
+
7
+ Adds MARISA (Matching Algorithm with Recursively Implemented StorAge) trie functionality for DuckDB. MARISA is a static and space-efficient trie data structure that enables fast string lookups, prefix searches, and predictive text operations.
8
+
9
+ > **Source:** [https://github.com/query-farm/marisa](https://github.com/query-farm/marisa)
10
+ > **Catalog:** [Haybarn community extensions](https://github.com/Query-farm-haybarn/haybarn-community-extensions)
11
+
12
+ ## Install
13
+
14
+ ```sh
15
+ npm install @haybarn/ext-marisa-h1-5-4
16
+ # or use the exact version:
17
+ npm install @haybarn/ext-marisa-h1-5-4@202603.29.205852
18
+ ```
19
+
20
+ npm picks the matching platform binary from the leaves below via its `os` / `cpu` / `libc` fields. No postinstall scripts, no network calls after `npm install`.
21
+
22
+ ## Available platforms (this version)
23
+
24
+ Installed automatically by `npm install @haybarn/ext-marisa-h1-5-4` (npm picks the one matching your `os`/`cpu`/`libc`):
25
+
26
+ - `@haybarn/ext-marisa-h1-5-4-win32-x64`
27
+ - `@haybarn/ext-marisa-h1-5-4-linux-x64`
28
+ - `@haybarn/ext-marisa-h1-5-4-darwin-arm64`
29
+ - `@haybarn/ext-marisa-h1-5-4-darwin-x64`
30
+ - `@haybarn/ext-marisa-h1-5-4-linux-arm64`
31
+
32
+ ## WebAssembly (duckdb-wasm)
33
+
34
+ Also built for [duckdb-wasm](https://github.com/duckdb/duckdb-wasm). These are **not** installed by the meta above (npm has no wasm `os`/`cpu` to match) — install the variant matching your duckdb-wasm bundle (`mvp` / `eh` / `threads`) and point duckdb-wasm at the bundled asset:
35
+
36
+ - `@haybarn/ext-marisa-h1-5-4-wasm-mvp`
37
+ - `@haybarn/ext-marisa-h1-5-4-wasm-eh`
38
+ - `@haybarn/ext-marisa-h1-5-4-wasm-threads`
39
+
40
+ ```sh
41
+ npm install @haybarn/ext-marisa-h1-5-4-wasm-mvp
42
+ ```
43
+ ```js
44
+ import extUrl from '@haybarn/ext-marisa-h1-5-4-wasm-mvp/bin/marisa.duckdb_extension.wasm?url';
45
+ await conn.query(`INSTALL marisa FROM '${extUrl}'`);
46
+ await conn.query(`LOAD marisa`);
47
+ ```
48
+
49
+ ## Use it
50
+
51
+ Once installed, the `.duckdb_extension` binary lands in your project's `node_modules/` tree under the matching leaf. The [Haybarn](https://github.com/Query-farm-haybarn/haybarn) engine auto-discovers it at startup; from a Haybarn SQL session:
52
+
53
+ ```sql
54
+ LOAD marisa;
55
+ ```
56
+
57
+ ## License
58
+
59
+ The `marisa` extension is distributed under **MIT**. The Haybarn engine itself is MIT-licensed.
60
+
61
+ ## Trademark
62
+
63
+ Haybarn is an independent derived distribution of DuckDB published by [Query Farm LLC](https://query.farm). Not affiliated with or endorsed by the DuckDB Foundation. DuckDB is a trademark of the DuckDB Foundation.
package/package.json ADDED
@@ -0,0 +1,41 @@
1
+ {
2
+ "name": "@haybarn/ext-marisa-h1-5-4",
3
+ "version": "202603.29.205852",
4
+ "description": "Adds MARISA (Matching Algorithm with Recursively Implemented StorAge) trie functionality for DuckDB. MARISA is a static and space-efficient trie data structure that enables fast string lookups, prefix searches, and predictive text operations.",
5
+ "homepage": "https://github.com/query-farm/marisa",
6
+ "bugs": {
7
+ "url": "https://github.com/query-farm/marisa/issues"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/Query-farm-haybarn/haybarn-community-extensions.git"
12
+ },
13
+ "license": "MIT",
14
+ "keywords": [
15
+ "haybarn",
16
+ "duckdb",
17
+ "extension",
18
+ "marisa"
19
+ ],
20
+ "optionalDependencies": {
21
+ "@haybarn/ext-marisa-h1-5-4-win32-x64": "202603.29.205852",
22
+ "@haybarn/ext-marisa-h1-5-4-linux-x64": "202603.29.205852",
23
+ "@haybarn/ext-marisa-h1-5-4-darwin-arm64": "202603.29.205852",
24
+ "@haybarn/ext-marisa-h1-5-4-darwin-x64": "202603.29.205852",
25
+ "@haybarn/ext-marisa-h1-5-4-linux-arm64": "202603.29.205852"
26
+ },
27
+ "haybarn": {
28
+ "built_at": "2026-06-17T18:14:48Z",
29
+ "ext_commit": "a064878c5b56d4d08aaf1a634d56b4db64438785",
30
+ "ext_version_label": "",
31
+ "extension": "marisa",
32
+ "haybarn_version": "1.5.4",
33
+ "sha256": "see-leaf-packages-for-per-platform-sha256"
34
+ },
35
+ "files": [
36
+ "README.md"
37
+ ],
38
+ "publishConfig": {
39
+ "access": "public"
40
+ }
41
+ }