1.0.3 • Published 8 years ago
can-use-webview v1.0.3
can-use-webview
Detect if you can use electron's `
Why is not is-electron?
- is-electron return false if
nodeIntegration:false can-use-webviewreturn true ifnodeIntegration:falseandwebviewTag:true
Install
Install with npm:
npm install can-use-webviewUsage
import {canUseWebView} from "can-use-webview"
canUseWebView(); // true or falseChangelog
See Releases page.
Running tests
Install devDependencies and Run npm test:
npm i -d && npm testContributing
Pull requests and stars are always welcome.
For bugs and feature requests, please create an issue.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
Author
License
MIT © azu