virtual-gamepad-lib
Version:
Emulate and display virtual and real gamepads on the web
83 lines • 2.35 kB
JSON
{
"name": "virtual-gamepad-lib",
"private": false,
"description": "Emulate and display virtual and real gamepads on the web",
"version": "0.3.3",
"type": "module",
"sideEffects": false,
"//": "Note sideEffects:false indicates compatibility with tree shaking at compilation time. This does not mean all fuctions in this package are side-effect free at runtime! E.g. Once you initilize a new GamepadEmulator() the browser Gamepad API is monkeypatched (but can be reverted)",
"author": "Kyle Worcester-Moore",
"license": "MIT",
"homepage": "https://github.com/KW-M/virtual-gamepad-lib#readme",
"bugs": {
"url": "https://github.com/KW-M/virtual-gamepad-lib/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/KW-M/virtual-gamepad-lib.git"
},
"keywords": [
"gaming",
"arcade",
"emulator",
"joystick",
"typescript",
"gamepad",
"touch",
"accessability"
],
"peerDependencies": {
"svgo": "^3.3.2"
},
"module": "cjs/index.mjs",
"main": "index.js",
"types": "index.d.ts",
"exports": {
".": {
"types": "./index.d.ts",
"import": "./index.js",
"require": "./cjs/index.cjs",
"browser": {
"types": "./index.d.ts",
"default": "./index.js"
}
},
"./enums": {
"types": "./enums.d.ts",
"import": "./enums.js",
"require": "./cjs/enums.cjs"
},
"./GamepadApiWrapper": {
"types": "./GamepadApiWrapper.d.ts",
"import": "./GamepadApiWrapper.js",
"require": "./cjs/GamepadApiWrapper.cjs"
},
"./GamepadDisplay": {
"types": "./GamepadDisplay.d.ts",
"import": "./GamepadDisplay.js",
"require": "./cjs/GamepadDisplay.cjs"
},
"./GamepadEmulator": {
"types": "./GamepadEmulator.d.ts",
"import": "./GamepadEmulator.js",
"require": "./cjs/GamepadEmulator.cjs"
},
"./utilities": {
"types": "./utilities.d.ts",
"import": "./utilities.js",
"require": "./cjs/utilities.cjs"
},
"./helpers": {
"types": "./helpers.d.ts",
"import": "./helpers.js",
"require": "./cjs/helpers.cjs"
},
"./gamepad_assets/*": {
"import": "./gamepad_assets/*",
"default": "./gamepad_assets/*"
},
"./svgo.config.js": {
"import": "./svgo.config.js"
}
}
}