Skip to content

adf0001/open-url-by-browser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

open url by browser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published