UNPKG

@inst/vscode-bin-darwin

Version:

BINARY ONLY - VSCode binary deployment for macOS

65 lines (64 loc) 5.07 kB
{ "_args": [ [ { "raw": "native-keymap@https://registry.npmjs.org/native-keymap/-/native-keymap-1.2.5.tgz", "scope": null, "escapedName": "native-keymap", "name": "native-keymap", "rawSpec": "https://registry.npmjs.org/native-keymap/-/native-keymap-1.2.5.tgz", "spec": "https://registry.npmjs.org/native-keymap/-/native-keymap-1.2.5.tgz", "type": "remote" }, "/Users/code/tfs/agent3/_work/2/s" ] ], "_from": "native-keymap@1.2.5", "_id": "native-keymap@1.2.5", "_inCache": true, "_location": "/native-keymap", "_phantomChildren": {}, "_requested": { "raw": "native-keymap@https://registry.npmjs.org/native-keymap/-/native-keymap-1.2.5.tgz", "scope": null, "escapedName": "native-keymap", "name": "native-keymap", "rawSpec": "https://registry.npmjs.org/native-keymap/-/native-keymap-1.2.5.tgz", "spec": "https://registry.npmjs.org/native-keymap/-/native-keymap-1.2.5.tgz", "type": "remote" }, "_requiredBy": [ "/" ], "_resolved": "https://registry.npmjs.org/native-keymap/-/native-keymap-1.2.5.tgz", "_shasum": "1035a9417b9a9340cf8097763a43c76d588165a5", "_shrinkwrap": null, "_spec": "native-keymap@https://registry.npmjs.org/native-keymap/-/native-keymap-1.2.5.tgz", "_where": "/Users/code/tfs/agent3/_work/2/s", "author": { "name": "Microsoft Corporation" }, "bugs": { "url": "https://github.com/Microsoft/node-native-keymap/issues" }, "dependencies": {}, "description": "Get OS key mapping", "devDependencies": {}, "gypfile": true, "homepage": "https://github.com/Microsoft/node-native-keymap#readme", "license": "MIT", "main": "index.js", "name": "native-keymap", "optionalDependencies": {}, "readme": "# OS key mapping node module [![Build Status](https://travis-ci.org/Microsoft/node-native-keymap.svg?branch=master)](https://travis-ci.org/Microsoft/node-native-keymap)\nReturns what characters are produced by pressing keys with different modifiers on the current system keyboard layout.\n\n## Installing\n\n* On Debian-based Linux: `sudo apt-get install libx11-dev libxkbfile-dev`\n* On Red Hat-based Linux: `sudo yum install libx11-devel.x86_64 libxkbfile-devel.x86_64 # or .i686`\n* On FreeBSD: `sudo pkg install libX11`\n\n```sh\nnpm install native-keymap\n```\n\n## Using\n\n```javascript\nvar keymap = require('native-keymap');\nconsole.log(keymap.getKeyMap());\n```\n\nExample output when using standard US keyboard layout:\n```\n[\n ...\n { key_code: 'VKEY_OEM_2',\n value: '/',\n withShift: '?',\n withAltGr: '',\n withShiftAltGr: '' },\n { key_code: 'VKEY_OEM_3',\n value: '`',\n withShift: '~',\n withAltGr: '',\n withShiftAltGr: '' },\n { key_code: 'VKEY_OEM_4',\n value: '[',\n withShift: '{',\n withAltGr: '',\n withShiftAltGr: '' },\n { key_code: 'VKEY_OEM_5',\n value: '\\\\',\n withShift: '|',\n withAltGr: '',\n withShiftAltGr: '' },\n { key_code: 'VKEY_OEM_6',\n value: ']',\n withShift: '}',\n withAltGr: '',\n withShiftAltGr: '' },\n { key_code: 'VKEY_OEM_7',\n value: '\\'',\n withShift: '\"',\n withAltGr: '',\n withShiftAltGr: '' },\n { key_code: 'VKEY_OEM_102',\n value: '\\\\',\n withShift: '|',\n withAltGr: '',\n withShiftAltGr: '' } ]\n```\n\nExample output when using German (Swiss) keyboard layout:\n```\n[\n ...\n { key_code: 'VKEY_OEM_2',\n value: '§',\n withShift: '°',\n withAltGr: '',\n withShiftAltGr: '' },\n { key_code: 'VKEY_OEM_3',\n value: '',\n withShift: '¨!',\n withAltGr: ']',\n withShiftAltGr: '' },\n { key_code: 'VKEY_OEM_4',\n value: '\\'',\n withShift: '?',\n withAltGr: '',\n withShiftAltGr: '' },\n { key_code: 'VKEY_OEM_5',\n value: '´ä',\n withShift: 'à',\n withAltGr: '{',\n withShiftAltGr: '' },\n { key_code: 'VKEY_OEM_6',\n value: '',\n withShift: '^`',\n withAltGr: '',\n withShiftAltGr: '' },\n { key_code: 'VKEY_OEM_7',\n value: '~ö',\n withShift: 'é',\n withAltGr: '',\n withShiftAltGr: '' },\n { key_code: 'VKEY_OEM_8',\n value: '$',\n withShift: '£',\n withAltGr: '}',\n withShiftAltGr: '' },\n { key_code: 'VKEY_OEM_102',\n value: '<',\n withShift: '>',\n withAltGr: '\\\\',\n withShiftAltGr: '' } ]\n```\n\n## Supported OSes\n * linux (X11)\n * windows\n * mac\n * freebsd\n\n## Developing\n * only tested on `node v6.x`\n * `npm install -g node-gyp`\n * `node-gyp configure` (for debugging use `node-gyp configure -d`)\n * `node-gyp build`\n * `npm test` (for debugging change `index.js` to load the node module from the `Debug` folder and press `F5`)\n\n## License\n[MIT](https://github.com/Microsoft/node-native-keymap/blob/master/License.txt)\n", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git+https://github.com/Microsoft/node-native-keymap.git" }, "scripts": { "install": "node-gyp rebuild", "test": "node test/test.js" }, "version": "1.2.5" }