2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-11-17 02:15:10 +00:00
nativefier/app/node_modules/wurl/README.md
Jia Hao 5cb20e9244 Implement authentication that requires a new window to be opened referenced in #19
- Issue https://github.com/jiahaog/nativefier/issues/19#issuecomment-173364234
- When a link that requests a new window is clicked, the app will check if the link is an external link. If so, the default desktop browser (Chrome, Safari etc.) will be opened. Otherwise, a new Electron BrowserWindow will be opened, which supports the use case of logging in to OAuth websites such as feedly.com
2016-01-22 02:05:50 +08:00

488 B

wurl()

A simple url parsing library for Node.js.

Note this is based directly from the js-url library. To see the documentation and release notes pleas check the README page there.

Install

npm install wurl

Usage

var wurl = require('wurl');

wurl('domain', url);
// etc

License

MIT licensed

Copyright (C) 2011-2012 Websanova http://www.websanova.com