Skip to content

nwutils/nw-dev-keybindings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 binding Outcome
F5 Soft refresh
Shift+F5 Refresh ignoring cache
Command+Shift+R Refresh ignoring cache
Ctrl+F5 Hard refresh
Ctrl+R Hard refresh
Command+R Hard refresh
F12 Open Dev Tools
Ctrl+Shift+I Open Dev Tools
Option+Shift+I Open Dev Tools

About

Open dev tools and refresh keybindings for NW.js

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published