vlt / docs

  • PricingBenchmarks (opens in new window)Community (opens in new window)Feedback
  • Overview
    • Overview
    • Reference
  • Overview
  • Usage
  1. Client
  2. /
  3. API Reference
  4. /
  5. @vltpkg/url-open

@vltpkg/url-open

@vltpkg/url-open

Open URLs using the system default web browser, for logging into registries and minting OTP tokens and such.

Usage

Overview

Give it a URL, and it'll try to open it in the user's default web browser.

Usage

JavaScript
import { urlOpen } from '@vltpkg/url-open'

await urlOpen('https://example.com/')

// url has now been open, or an error was thrown

PreviousReferenceNextReference

On this page

  • Overview
  • Usage

Deploy your package on vlt.io

Publish scoped and private packages, manage organizations and access, and give every developer and CI environment a consistent source for public and private JavaScript dependencies.

Publish now