A command line tool for accessing CanIUse data offline and in your terminal
Instructions coming soon
git clone https://github.com/joseph-walker/cani
cd cani
cargo build
# or
cargo run sync
- Ensure the tool is installed
- Run
cani sync
to download a mirror of the CanIUse data - Run
cani ls
to see all the features available - Run
cani use <feature_key>
to see CanIUse data
By default, the mirrored CanIUse data will be stored in your home directory, at ~/.cani/caniuse.json
.
cani
uses the Unix philosophy and is designed to compose with other tools.
For example, integration with fzf
might look like:
cani ls | fzf -d : --preview "cani use {1}" --preview-window right:75%:wrap