Skip to content

Commit d9fdfd3

Browse files
authored
docs: document minimum node version requirement (#60)
1 parent 399069c commit d9fdfd3

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ const decoded = encoder.decode(encoded);
1616
```
1717

1818
## Platform support
19+
⚠ Node.js 12.0.0 or newer is required.
1920

2021
- Linux x64 & ia32
2122
- Linux arm (RPi 1 & 2)

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@
3939
"eslintConfig": {
4040
"extends": "aqua/node"
4141
},
42+
"engines": {
43+
"node": ">=12.0.0"
44+
},
4245
"binary": {
4346
"module_name": "opus",
4447
"module_path": "./prebuild/{node_abi}-napi-v{napi_build_version}-{platform}-{arch}-{libc}-{libc_version}/",

0 commit comments

Comments
 (0)