UNPKG

opengpio

Version:

A performant c++ based general purpose GPIO controller for linux devices. OpenGPIO is written using libgpiod, line & chip based abstractions.

76 lines (75 loc) 1.88 kB
{ "dependencies": { "bindings": "^1.5.0", "debug": "^4.3.4", "node-addon-api": "^7.0.0" }, "name": "opengpio", "version": "1.0.17", "main": "dist/index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build": "npm run build:cpp", "build:cpp": "node-gyp configure build", "build:ts": "rm -rf dist; tsc", "build:ts:watch": "npm run build:ts -- --watch", "start": "ts-node src/main.ts", "lint": "eslint . --ext .ts", "format": "prettier --config .prettierrc 'src/**/*.ts' --write", "bcmToChip": "node utils/bcmToChip.js" }, "repository": { "type": "git", "url": "git+https://github.com/ExplorationSystems/opengpio.git" }, "keywords": [ "gpio", "neo3", "raspberry", "orange", "radxa", "rock", "s0", "pi", "rpi", "2", "2b", "3", "3b", "3b+", "4", "4b", "5", "5b", "400", "zero", "w", "2w", "cm5", "nanopi", "pwm", "events", "watch", "libgpio", "libgpiod" ], "author": "", "license": "MIT", "description": "", "devDependencies": { "@swc-node/register": "^1.8.0", "@swc/core": "^1.4.2", "@swc/helpers": "^0.5.6", "@types/bindings": "^1.5.3", "@types/debug": "^4.1.10", "@types/node": "^20.8.10", "@typescript-eslint/eslint-plugin": "^6.9.0", "@typescript-eslint/parser": "^6.9.0", "eslint": "^8.52.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.1", "prettier": "^3.0.3", "ts-node": "^10.9.1", "typescript": "^5.2.2" } }