Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nodejs binding #3

Merged
merged 27 commits into from
Aug 15, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
post-release
  • Loading branch information
albho committed Aug 13, 2024
commit 8541ae9ee3c9f99250bb9aadbaf2d82e9fcca7ab
2 changes: 1 addition & 1 deletion binding/nodejs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ PvSpeaker is an easy-to-use, cross-platform audio player designed for real-time

## Compatibility

- Node.js 14+
- Node.js 16+
- Runs on Linux (x86_64), macOS (x86_64 and arm64), Windows (x86_64), and Raspberry Pi (3, 4, 5).

## Installation
Expand Down
4 changes: 2 additions & 2 deletions demo/nodejs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ PvSpeaker is an easy-to-use, cross-platform audio player designed for real-time

## Compatibility

- Node.js 14+
- Node.js 16+
- Runs on Linux (x86_64), macOS (x86_64 and arm64), Windows (x86_64), and Raspberry Pi (3, 4, 5).

## Installation:
Expand Down Expand Up @@ -41,4 +41,4 @@ To run PvSpeaker run:

```console
pvspeaker-node-demo --audio_device_index {AUDIO_DEVICE_INDEX} --input_wav_path {INPUT_WAV_PATH}
```
```
6 changes: 3 additions & 3 deletions demo/nodejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"author": "Picovoice, Inc.",
"license": "Apache-2.0",
"dependencies": {
"@picovoice/pvspeaker-node": "file:../../binding/nodejs",
"@picovoice/pvspeaker-node": "~1.0.0",
"commander": "^6.1.0"
},
"devDependencies": {},
Expand All @@ -24,6 +24,6 @@
"directory": "demo/nodejs"
},
"engines": {
"node": ">=14.0.0"
"node": ">=16.0.0"
}
}
}
4 changes: 3 additions & 1 deletion demo/nodejs/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
# yarn lockfile v1


"@picovoice/pvspeaker-node@file:../../binding/nodejs":
"@picovoice/pvspeaker-node@~1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@picovoice/pvspeaker-node/-/pvspeaker-node-1.0.0.tgz#6b87b86138a8bb256e46ea41cb7d258ff8534337"
integrity sha512-qhH4ktObGj/Dd7iiptPXqf89U3l7FbCiaB1xY439YE3EFLsfsvZvjAzEwsF5A01h47AbXJTCdAjvkXrcsdt0/w==

commander@^6.1.0:
version "6.2.1"
Expand Down
Loading