Skip to content

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

License

Notifications You must be signed in to change notification settings

lambdalisue/deno-systemopen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published