Skip to content
/ ourl Public

Node.js Utility to open urls in browser

License

Notifications You must be signed in to change notification settings

azhar22k/ourl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

out-url

Cross platform Node.js Utility to open urls in browser

NPM

Supported platforms

  • Android
  • Windows
  • MacOS
  • Linux

Example

// Plain example
const { open } = require('out-url');
open('http://itz-azhar.github.io');
//or
require('o-url').open('http://itz-azhar.github.io');
// With error handling
const { open } = require('out-url');
open('http://itz-azhar.github.io')
  .then(res => console.log('RES', res)) // Resolves with Done!
  .catch(err => console.log('ERR', err));

About

Node.js Utility to open urls in browser

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •