rpi-io 1.1.2 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# rpi-io
|
|
2
|
-
    
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
**rpi-io** is a lite [ESM](https://nodejs.org/api/esm.html#modules-ecmascript-modules) module for **Node.js** to control **Raspberry Pi** GPIO: access (in, out), input event detection and [PWM](https://en.wikipedia.org/wiki/Pulse-width_modulation) peripheral control.
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
- Input/Output - [libgpiod](https://libgpiod.readthedocs.io/en/stable/) v1.6.3 (*Bookworm*) and v2.2.1 (*Trixie*)
|
|
13
13
|
- PWM - [sysfs](https://en.wikipedia.org/wiki/Sysfs) interface.
|
|
14
14
|
|
|
15
|
-
## Installation
|
|
15
|
+
## Installation
|
|
16
16
|
|
|
17
17
|
````shell
|
|
18
18
|
npm install rpi-io
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rpi-io",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.4",
|
|
4
4
|
"description": "Nodejs module to control Raspbbery Pi GPIO",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"raspberry",
|
|
@@ -20,13 +20,13 @@
|
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"author": "Guillaume DORBES",
|
|
22
22
|
"type": "module",
|
|
23
|
-
"engines"
|
|
24
|
-
"npm"
|
|
25
|
-
"node"
|
|
23
|
+
"engines": {
|
|
24
|
+
"npm": ">=10.0.0",
|
|
25
|
+
"node": ">=23.0.0"
|
|
26
26
|
},
|
|
27
27
|
"main": "./esm/rio.mjs",
|
|
28
28
|
"exports": "./esm/rio.mjs",
|
|
29
29
|
"scripts": {
|
|
30
|
-
"test":"node ./scr/test.js"
|
|
30
|
+
"test": "node ./scr/test.js"
|
|
31
31
|
}
|
|
32
32
|
}
|