browserslist-rs
The tool like Browserslist, but written in Rust.
Try it out
Before trying this crate, you're required to get Rust installed. Then, clone this repository.
Now, you can try and inspect query result by running example with Cargo:
cargo run --example inspect -- <query>
You can also specify additional options, for example:
cargo run --example inspect -- --mobile-to-desktop 'last 2 versions, not dead`
To get more help, you can run:
cargo run --example inspect -- -h
Limitations
The features below aren't supported currently:
- Custom usage like
> 0.5% in my stats
or> 0.5% in XX
. - Custom usage like
cover 99.5% in my stats
orcover 99.5% in XX
. - Extending custom config like
extends browserslist-config-mycompany
. - Specifying feature name like
supports es6-module
.
License
MIT License
Copyright (c) 2021-present Pig Fang