Skip to main content
Home

Built and signed on GitHub Actions

Works with
This package works with Deno
This package works with Deno
•JSR Score100%•
Downloads28/wk
•
Published2 years ago (1.0.0)

🦕 Open a file or URL using the default application of the user's platform (support Windows, macOS, and Linux)

systemopen

jsr denoland deno doc Test

Open a file or URL using the default application of the user's OS. It supports Windows, macOS, and Linux.

Usage

import { systemopen } from "./mod.ts";

if (await systemopen("https://deno.land")) {
  console.log("Success");
} else {
  console.log("Failed");
}

License

The code follows MIT license written in LICENSE. Contributors need to agree that any modifications sent in this repository follow the license.

Built and signed on
GitHub Actions

Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@lambdalisue/systemopen

Import symbol

import * as systemopen from "@lambdalisue/systemopen";
or

Import directly with a jsr specifier

import * as systemopen from "jsr:@lambdalisue/systemopen";