Skip to content

A tiny utility for opening a file or a URL inside a browser of your choosing.

License

Notifications You must be signed in to change notification settings

fabiospampinato/tiny-browser-open

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tiny Browser Open

A tiny utility for opening a file or a URL inside a browser of your choosing.

Install

npm install --save tiny-browser-open

Usage

import open from 'tiny-browser-open';

// Open using Chrome

open ( 'https://example.com', { app: 'chrome' } );

// Open using Firefox

open ( 'https://example.com', { app: 'firefox' } );

// Open using Edge

open ( 'https://example.com', { app: 'edge' } );

// Open using Safari

open ( 'https://example.com', { app: 'safari' } );

License

MIT © Fabio Spampinato

About

A tiny utility for opening a file or a URL inside a browser of your choosing.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published