keyroute 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -14,12 +14,13 @@ Define your own keyboard shortcut and make your website more accessible.
14
14
  createKeyroute({
15
15
  'ctrl+s': () => save(),
16
16
  'esc': () => close()
17
- });
17
+ });```
18
18
 
19
19
  ## Installation
20
20
 
21
21
  ```bash
22
22
  npm install keyroute
23
+ ```
23
24
 
24
25
  ## Basic usage in Angular
25
26
 
@@ -33,3 +34,14 @@ const shortcuts = createKeyroute({
33
34
 
34
35
  // Call when you no longer need the shortcuts
35
36
  shortcuts.destroy();
37
+ ```
38
+
39
+ ## Contributing
40
+
41
+ PRs welcome.
42
+ If you have ideas for:
43
+ - additional key combos
44
+ - accessibility improvements
45
+ - framework helpers
46
+
47
+ Feel free to open an issue.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keyroute",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Route keyboard shortcuts to application actions. Framework-agnostic keyboard shortcut routing for web applications",
5
5
  "keywords": [
6
6
  "keyboard",
Binary file