JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2222
  • Score
    100M100P100Q109672F
  • License MIT

Cross platform Node.js Utility to open urls in browser

Package Exports

  • out-url

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (out-url) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

urlo

Cross platform Node.js Utility to open urls in browser

NPM

Supported platforms

  • Android
  • Windows
  • MacOS
  • Linux

Example

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