An open API service indexing awesome lists of open source software.

https://github.com/un-rust/browser-paths

🧐 Get the path of the browser, support Chrome and Edge.
https://github.com/un-rust/browser-paths

browser chrome edge path

Last synced: 4 months ago
JSON representation

🧐 Get the path of the browser, support Chrome and Edge.

Awesome Lists containing this project

README

          

# 🧐 browser-paths

![Crates.io Version](https://img.shields.io/crates/v/browser-paths)
![Crates.io Total Downloads](https://img.shields.io/crates/d/browser-paths)
![docs.rs](https://img.shields.io/docsrs/browser-paths)
![GitHub commit activity](https://img.shields.io/github/commit-activity/m/un-rust/browser-paths)
![GitHub Repo stars](https://img.shields.io/github/stars/un-rust/browser-paths)

Get the path of the browser, support Chrome and Edge.

**[Full documentation →](https://docs.rs/browser-paths/)**

## Quick start

```sh
cargo add browser-paths
```

## Usage

```rust
use browser_paths::{BrowserKind, get_browser_path};

fn main() {
let chrome_path = get_browser_path(BrowserKind::Chrome);
println!("chrome_path: {:?}", chrome_path);

let edge_path = get_browser_path(BrowserKind::Edge);
println!("edge_path: {:?}", edge_path);
}
```

## License

Published under the [Apache-2.0](./LICENSE) license.
Made by [@UnRUST](https://github.com/un-rust) 💛





---

_🛠️ auto updated with [automd-rs](https://github.com/betterhyq/automd-rs)_