Skip to main content
This release is 1 version behind 1.0.2 — the latest version of @ndh/browser. Jump to latest

A simple browser-launcher utility. This is used in dev-server code to auto-launch the served URL in the default browser.

This package works with DenoIt is unknown whether this package works with Cloudflare Workers, Node.js, Bun, Browsers
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Node.js
This package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with Browsers
JSR Score
94%
Published
2 hours ago (1.0.1)

Open a web page with the appropriate browser.

This utility is used by a few dev-servers to auto-launch the browser with the url being served.

Add Package

deno add jsr:@ndh/browser

Import symbol

import * as browser from "@ndh/browser";

---- OR ----

Import directly with a jsr specifier

import * as browser from "jsr:@ndh/browser";

Add Package

npx jsr add @ndh/browser

Import symbol

import * as browser from "@ndh/browser";

Add Package

yarn dlx jsr add @ndh/browser

Import symbol

import * as browser from "@ndh/browser";

Add Package

pnpm dlx jsr add @ndh/browser

Import symbol

import * as browser from "@ndh/browser";

Add Package

bunx jsr add @ndh/browser

Import symbol

import * as browser from "@ndh/browser";