We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2405396 commit a17f9c7Copy full SHA for a17f9c7
3 files changed
ecosystem-tests/bun/README.md
@@ -0,0 +1,9 @@
1
+# Bun Ecosystem Test
2
+
3
+This test runs a minimal workflow using `langbase@1.2.0` in a Bun environment.
4
5
+## How to Run
6
7
+- Make sure you have Bun installed: https://bun.sh/docs/installation
8
+- Install dependencies: `bun install`
9
+- Run: `bun run index.ts`
ecosystem-tests/bun/index.ts
@@ -0,0 +1,12 @@
+import {Workflow} from 'langbase';
+async function main() {
+ const workflow = new Workflow({debug: true});
+ const result = await workflow.step({
+ id: 'hello',
+ run: async () => 'world',
+ });
+ console.log({result});
10
+}
11
12
+main().catch(console.error);
ecosystem-tests/bun/package.json
+{
+ "name": "bun-test",
+ "version": "1.0.0",
+ "type": "module",
+ "private": true,
+ "dependencies": {
+ "langbase": "1.2.0"
+ }
0 commit comments