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.