register-protocol-handler-windows
register protocol handlers on Windows
usage
var registerProtocolHandler = var shellCommand = '"c:\\foo.exe" "%1"' // %1 gets replaced with the URLvar register = register
api
Matches (as closesly as possible) the DOM Navigator.registerProtocolHandler API
registerProtocolHandler(protocol, path, name) => Promise
installation
$ npm install register-protocol-handler-windows
running the tests
From package root:
$ npm install
$ npm test
related documentation
MSDN: Registering an Application to a URI Scheme
contributors
- jden jason@denizac.org
license
ISC. (c) MMXV jden jason@denizac.org. See LICENSE.md