Commit 96e57e3
Add Node.js support: replace Bun-specific APIs, bundle for Node
- Bun.argv → process.argv (standard Node API)
- Bun.sleep → setTimeout promise (standard)
- cli.ts shebang: #!/usr/bin/env bun → #!/usr/bin/env node
- Added bun build step: bundles to dist/index.js for Node
- cli.js entry point for Node users
- prepublishOnly runs build automatically
- Bump to v0.3.0
Works with both: bun run index.ts OR node dist/index.js
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 04c7fff commit 96e57e3
6 files changed
Lines changed: 5556 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
0 commit comments