Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,19 +98,19 @@ jobs:
"GSTREAMER_1_0_ROOT_MSVC_X86_64=$gstRoot" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8
"$gstRoot\bin" | Out-File -FilePath $env:GITHUB_PATH -Append -Encoding utf8

- name: Setup Node.js 20
- name: Setup Node.js 22
uses: actions/setup-node@v4
with:
node-version: "20.x"
node-version: "22.x"
cache: "npm"

- name: Install dependencies (Node.js 20)
- name: Install dependencies (Node.js 22)
run: npm ci

- name: Build TypeScript bundle (Node.js 20)
- name: Build TypeScript bundle (Node.js 22)
run: npm run build:ts

- name: Run unit tests (Node.js 20)
- name: Run unit tests (Node.js 22)
run: npm run test:unit

- name: Setup Node.js LTS
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This project represents a complete modernization of the old [node-gstreamer-supe
### Modern Runtime Support

- **N-API instead of NAN**: Uses Node-API (N-API) for better runtime stability and version independence
- **Multi-runtime compatibility**: Supports Node.js 20+, Bun, Deno, and other V8-based runtimes
- **Multi-runtime compatibility**: Supports Node.js 22+, Bun, Deno, and other V8-based runtimes
- **Version independence**: Not bound to specific V8 versions, ensuring longevity

### Modern Build System
Expand Down Expand Up @@ -65,8 +65,8 @@ npm install gst-kit

### System Requirements

- **Runtime**: Node.js 20+, Bun, or Deno
- **Build-time**: Node.js 20+ is required during installation to run `node-gyp` and the package's postinstall script, even when the target runtime is Bun or Deno. The compiled `.node` addon is runtime-agnostic and loads under any of the three.
- **Runtime**: Node.js 22+, Bun, or Deno
- **Build-time**: Node.js 22+ is required during installation to run `node-gyp` and the package's postinstall script, even when the target runtime is Bun or Deno. The compiled `.node` addon is runtime-agnostic and loads under any of the three.
- **System**: GStreamer 1.14 or higher (1.26+ recommended)
- **Build Tools**: Python 2.7 or 3.x (for node-gyp), pkg-config
- **Dependencies**: GStreamer development packages and plugins
Expand Down Expand Up @@ -1103,7 +1103,7 @@ gst-kit/

| Runtime | Support Level | Notes |
| ----------- | ------------- | --------------------------- |
| Node.js 20+ | ✅ Full | Minimum required version |
| Node.js 22+ | ✅ Full | Minimum required version |
| Bun | ✅ Full | Alternative runtime support |
| Deno | ✅ Full | Alternative runtime support |

Expand Down
Loading
Loading