Last active
February 3, 2021 14:25
-
-
Save baymac/b007525272fb482faf3438e7a9d4503b to your computer and use it in GitHub Desktop.
Opens link passed as argument in default browser
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { open } from "https://deno.land/x/opener/mod.ts"; | |
const url_ = Deno.args[0]; | |
await open(url_); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment