open-url-by-browser

1.0.1 • Public • Published

open-url-by-browser

open url by browser

Install

npm install open-url-by-browser

Usage

var open_url_by_browser = require("open-url-by-browser");

open_url_by_browser("http://bing.com?q=default");		//by defaut browser
open_url_by_browser("http://bing.com?q=chrome", "chrome");		//appoint a browser
open_url_by_browser.firefox("http://bing.com?q=firefox");		//appoint a browser, format 2
open_url_by_browser("http://bing.com?q=edge", "edge");		//support chrome/firefox/edge

/open-url-by-browser/

    Package Sidebar

    Install

    npm i open-url-by-browser

    Weekly Downloads

    8

    Version

    1.0.1

    License

    ISC

    Unpacked Size

    7.88 kB

    Total Files

    4

    Last publish

    Collaborators

    • adf0001