deno-systemopen

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

MIT License

Stars
13

systemopen

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.

Package Rankings
Top 5.88% on Deno.land
Badges
Extracted from project README
jsr denoland deno doc Test