v0.2.0
🦕 Open a file or URL using the default application of the user's platform (support Windows, macOS, and Linux)
Attributes
Includes Deno configuration
Repository
Current version released
a year ago
Versions
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.