@haybarn/ext-yaml-h1-5-3-wasm-threads 202602.22.194036

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 ADDED
@@ -0,0 +1,40 @@
1
+ <p align="center">
2
+ <img src="https://raw.githubusercontent.com/Query-farm-haybarn/.github/haybarn/profile/assets/haybarn-icon.png" alt="Haybarn" width="96" height="96">
3
+ </p>
4
+
5
+ # `@haybarn/ext-yaml-h1-5-3-wasm-threads`
6
+
7
+ WebAssembly (**threads**) build of the **yaml** extension, built against [Haybarn](https://github.com/Query-farm-haybarn/haybarn) **1.5.3** for use with [duckdb-wasm](https://github.com/duckdb/duckdb-wasm).
8
+
9
+ > **Source:** [https://github.com/teaguesterling/duckdb_yaml](https://github.com/teaguesterling/duckdb_yaml)
10
+
11
+ ## Why this package
12
+
13
+ Lets you **bundle / self-host / version-pin** the wasm extension instead of fetching it from the Haybarn CDN at runtime — handy for offline, CSP-restricted, or air-gapped duckdb-wasm apps.
14
+
15
+ Pick the variant matching the duckdb-wasm bundle your app loads: `mvp`, `eh`, or `threads`.
16
+
17
+ ## Install
18
+
19
+ ```sh
20
+ npm install @haybarn/ext-yaml-h1-5-3-wasm-threads
21
+ ```
22
+
23
+ ## Use it (duckdb-wasm)
24
+
25
+ Resolve the bundled `.wasm` to a URL and point duckdb-wasm at it. With a bundler (Vite shown; webpack/esbuild use `new URL(..., import.meta.url)`):
26
+
27
+ ```js
28
+ import extUrl from '@haybarn/ext-yaml-h1-5-3-wasm-threads/bin/yaml.duckdb_extension.wasm?url';
29
+ const conn = await db.connect();
30
+ await conn.query(`INSTALL yaml FROM '${extUrl}'`);
31
+ await conn.query(`LOAD yaml`);
32
+ ```
33
+
34
+ > Exact extension-loading API depends on your duckdb-wasm version; the key point is that `extUrl` is a local, bundler-emitted asset, not a CDN fetch. See the [duckdb-wasm docs](https://github.com/duckdb/duckdb-wasm).
35
+
36
+ For automatic, native (non-wasm) installs use the meta-package [`@haybarn/ext-yaml-h1-5-3`](https://www.npmjs.com/package/@haybarn/ext-yaml-h1-5-3).
37
+
38
+ ## Trademark
39
+
40
+ 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.
Binary file
@@ -0,0 +1,8 @@
1
+ {
2
+ "built_at": "2026-05-23T16:13:15Z",
3
+ "ext_commit": "de60de55fb238c44661cef27373e82ab21920f43",
4
+ "ext_version_label": "",
5
+ "extension": "yaml",
6
+ "haybarn_version": "1.5.3",
7
+ "sha256": "8df30a796c4a81c23dde777c6d33d7e6b579575e41daaf54be6724627e55f583"
8
+ }
package/package.json ADDED
@@ -0,0 +1,38 @@
1
+ {
2
+ "name": "@haybarn/ext-yaml-h1-5-3-wasm-threads",
3
+ "version": "202602.22.194036",
4
+ "description": "WebAssembly (threads) build of the Haybarn extension 'yaml' for duckdb-wasm. Built against haybarn 1.5.3. Pick the variant (mvp/eh/threads) matching your duckdb-wasm bundle.",
5
+ "homepage": "https://github.com/teaguesterling/duckdb_yaml",
6
+ "bugs": {
7
+ "url": "https://github.com/teaguesterling/duckdb_yaml/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
+ "duckdb-wasm",
18
+ "wasm",
19
+ "extension",
20
+ "yaml"
21
+ ],
22
+ "files": [
23
+ "bin",
24
+ "haybarn-metadata.json",
25
+ "README.md"
26
+ ],
27
+ "haybarn": {
28
+ "built_at": "2026-05-23T16:13:15Z",
29
+ "ext_commit": "de60de55fb238c44661cef27373e82ab21920f43",
30
+ "ext_version_label": "",
31
+ "extension": "yaml",
32
+ "haybarn_version": "1.5.3",
33
+ "sha256": "8df30a796c4a81c23dde777c6d33d7e6b579575e41daaf54be6724627e55f583"
34
+ },
35
+ "publishConfig": {
36
+ "access": "public"
37
+ }
38
+ }