Skip to content

Commit e29f32e

Browse files
committed
feat: move to @vscodium/native-keymap
1 parent d9ae1f8 commit e29f32e

File tree

9 files changed

+4012
-147
lines changed

9 files changed

+4012
-147
lines changed

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v22.20.0

LICENSE

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
MIT License
2+
3+
Copyright (c) 2025-present The VSCodium contributors
4+
Copyright (c) 2022-present Microsoft Corporation.
5+
6+
Permission is hereby granted, free of charge, to any person obtaining a copy
7+
of this software and associated documentation files (the "Software"), to deal
8+
in the Software without restriction, including without limitation the rights
9+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
copies of the Software, and to permit persons to whom the Software is
11+
furnished to do so, subject to the following conditions:
12+
13+
The above copyright notice and this permission notice shall be included in all
14+
copies or substantial portions of the Software.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
SOFTWARE

License.txt

Lines changed: 0 additions & 17 deletions
This file was deleted.

PoliCheckExclusions.xml

Lines changed: 0 additions & 11 deletions
This file was deleted.

README.md

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# OS key mapping node module [![Build Status](https://dev.azure.com/ms/node-native-keymap/_apis/build/status/microsoft.node-native-keymap?branchName=master)](https://dev.azure.com/ms/node-native-keymap/_build/latest?definitionId=138&branchName=master)
1+
# OS key mapping node module
22
Returns what characters are produced by pressing keys with different modifiers on the current system keyboard layout.
33

44
## Installing
@@ -9,13 +9,13 @@ Returns what characters are produced by pressing keys with different modifiers o
99
* On FreeBSD: `sudo pkg install libX11 libxkbfile`
1010

1111
```sh
12-
npm install native-keymap
12+
npm install @vscodium/native-keymap
1313
```
1414

1515
## Using
1616

1717
```javascript
18-
var keymap = require('native-keymap');
18+
var keymap = require('@vscodium/native-keymap');
1919
console.log(keymap.getKeyMap());
2020
```
2121

@@ -60,19 +60,23 @@ Example output when using German (Swiss) keyboard layout (on Windows):
6060
```
6161

6262
## Supported OSes
63-
* linux (X11)
64-
* windows
65-
* mac
66-
* freebsd
63+
64+
- linux (X11)
65+
- windows
66+
- mac
67+
- freebsd
6768

6869
## Known issues
69-
* only tested from the Electron Main process
70+
71+
- only tested from the Electron Main process
7072

7173
## Developing
72-
* `npm install -g node-gyp`
73-
* `node-gyp configure` (for debugging use `node-gyp configure -d`)
74-
* `node-gyp build`
75-
* `npm test` (for debugging change `index.js` to load the node module from the `Debug` folder and press `F5`)
74+
75+
- `npm install -g node-gyp`
76+
- `node-gyp configure` (for debugging use `node-gyp configure -d`)
77+
- `node-gyp build`
78+
- `npm test` (for debugging change `index.js` to load the node module from the `Debug` folder and press `F5`)
7679

7780
## License
78-
[MIT](https://github.com/Microsoft/node-native-keymap/blob/master/License.txt)
81+
82+
[MIT](https://github.com/VSCodium/native-keymap/blob/master/LICENSE)

SECURITY.md

Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
 (0)