xinput-ffi
Version:
Access native XInput functions as well as some helpers based around them.
81 lines (80 loc) • 1.85 kB
JSON
{
"name": "xinput-ffi",
"version": "4.0.2",
"description": "Access native XInput functions as well as some helpers based around them.",
"type": "module",
"exports": {
".": {
"types": "./types/index.d.ts",
"default": "./lib/index.js"
},
"./constants": {
"types": "./types/XInput/constants.d.ts",
"default": "./lib/XInput/constants.js"
}
},
"types": "./types/index.d.ts",
"files": [
"/lib",
"/types"
],
"engines": {
"node": ">=20.18.0"
},
"scripts": {
"lint": "eslint \"./lib/**/*.{js,mjs}\" \"./types/**/*.d.ts\"",
"check": "tsc --noemit --checkjs",
"declare": "tsc --declaration --emitDeclarationOnly --outDir \"./types\""
},
"keywords": [
"XInput",
"rumble",
"vibrate",
"gamepad",
"ffi",
"windows",
"vid",
"pid"
],
"author": {
"name": "Anthony Beaumont",
"email": "dev.xan105@outlook.be",
"url": "https://xan105.com/"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/xan105/node-xinput-ffi.git"
},
"bugs": {
"url": "https://github.com/xan105/node-xinput-ffi/issues"
},
"homepage": "https://github.com/xan105/node-xinput-ffi#readme",
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/xan105"
},
{
"type": "paypal",
"url": "https://www.paypal.me/xan105"
},
{
"type": "patreon",
"url": "https://www.patreon.com/xan105"
}
],
"dependencies": {
"@xan105/error": "^1.7.1",
"@xan105/ffi": "^1.3.0",
"@xan105/is": "^2.10.0",
"koffi": "^2.9.1"
},
"devDependencies": {
"@types/node": "^20.10.3",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.13.2",
"eslint": "^8.55.0",
"typescript": "^5.3.3"
}
}