New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@idleberg/caniuse-cli

Package Overview
Dependencies
Maintainers
1
Versions
419
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@idleberg/caniuse-cli

Command line tool for Caniuse database

Source
npmnpm
Version
1.0.30001782
Version published
Maintainers
1
Created
Source

caniuse-cli

npm npm

Command line tool for caniuse database.

caniuse-cli screenshot

Features

  • Uses caniuse-db internally, so results are displayed instantly.
  • Supports tab autocompletion in zsh, bash and fish.

Installation

$ npm install -g @idleberg/caniuse-cli

Usage

$ caniuse webrtc

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

Keywords

support

FAQs

Package last updated on 29 Mar 2026

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