1.0.1 • Published 2 years ago

nw-dev-keybindings v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

nw-dev-keybindings

"Open dev tools" and "refresh page" keybindings for NW.js.

Skips creating bindings if you are not on the SDK version.

Written in glorius ES5 (that means it runs in all version of NW.js, even super old ones).

Usage

  1. npm install --save nw-dev-keybindings
  2. Add this to your HTML file:
<script>
const nwDevKeyBindings = require('nw-dev-keybindings');
nwDevKeyBindings(window);
</script>

Then, if you are in the SDK version of NW.js, you'll be able to run these commands:

Key bindingOutcome
F5Soft refresh
Shift+F5Refresh ignoring cache
Command+Shift+RRefresh ignoring cache
Ctrl+F5Hard refresh
Ctrl+RHard refresh
Command+RHard refresh
F12Open Dev Tools
Ctrl+Shift+IOpen Dev Tools
Option+Shift+IOpen Dev Tools
1.0.1

2 years ago

1.0.0

2 years ago