Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lambdalisue/deno-systemopen
🦕 Open a file or URL using the default application of the user's platform (support Windows, macOS, and Linux)
https://github.com/lambdalisue/deno-systemopen
cross-platform deno jsr open system
Last synced: 3 months ago
JSON representation
🦕 Open a file or URL using the default application of the user's platform (support Windows, macOS, and Linux)
- Host: GitHub
- URL: https://github.com/lambdalisue/deno-systemopen
- Owner: lambdalisue
- License: mit
- Created: 2023-06-21T19:08:12.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-06T06:49:21.000Z (10 months ago)
- Last Synced: 2024-10-10T16:51:14.984Z (4 months ago)
- Topics: cross-platform, deno, jsr, open, system
- Language: TypeScript
- Homepage: https://jsr.io/@lambdalisue/systemopen
- Size: 9.77 KB
- Stars: 13
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# systemopen
[![jsr](https://img.shields.io/jsr/v/%40lambdalisue/systemopen?logo=javascript&logoColor=white)](https://jsr.io/@lambdalisue/systemopen)
[![denoland](https://img.shields.io/github/v/release/lambdalisue/deno-systemopen?logo=deno&label=denoland)](https://github.com/lambdalisue/deno-systemopen/releases)
[![deno doc](https://doc.deno.land/badge.svg)](https://doc.deno.land/https/deno.land/x/systemopen/mod.ts)
[![Test](https://github.com/lambdalisue/deno-systemopen/workflows/Test/badge.svg)](https://github.com/lambdalisue/deno-systemopen/actions?query=workflow%3ATest)Open a file or URL using the default application of the user's OS. It supports
Windows, macOS, and Linux.## Usage
```ts
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](./LICENSE). Contributors need
to agree that any modifications sent in this repository follow the license.