Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@bramus/caniuse-cli

Package Overview
Dependencies
Maintainers
0
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bramus/caniuse-cli

Command line tool for “Can I Use…” and MDN Browser Compat Data

  • 1.1.9
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
23
increased by64.29%
Maintainers
0
Weekly downloads
 
Created
Source

@bramus/caniuse-cli

Command line tool for “Can I Use …” and MDN Browser Compat Data

npm NPM

caniuse-cli screenshot

Features

Installation

# npm install -g @bramus/caniuse-cli

Usage

$ caniuse viewport-units
$ caniuse "viewport units"
$ caniuse @property

Enable Tab Autocompletion

In zsh:

echo '. <(caniuse --completion)' >> ~/.zshrc

In bash:

caniuse --completion >> ~/.caniuse.completion.sh
echo 'source ~/.caniuse.completion.sh' >> ~/.bashrc

In fish:

echo 'caniuse --completion-fish | source' >> ~/.config/fish/config.fish

That's all!

Now you have an autocompletion system.

Possible issues

Missing bash-completion package

bash: _get_comp_words_by_ref: command not found
bash: __ltrim_colon_completions: command not found
bash: _get_comp_words_by_ref: command not found
bash: __ltrim_colon_completions: command not found

Solution: install bash-completion package

License

@bramus/caniuse-cli is released under the MIT public license. See the enclosed LICENSE for details.

Acknowledgements

This project is built on the original https://github.com/dsenkus/caniuse-cli/

Keywords

FAQs

Package last updated on 30 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc