Socket
Book a DemoInstallSign in
Socket

query-caniuse

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

query-caniuse

A little CLI to query caniuse-db data, and output it on the terminal.

latest
Source
npmnpm
Version
0.1.1
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

query-caniuse

A little CLI to query caniuse-db data, and output it on the terminal. Useful if you want to quickly copy-paste these values, e.g. in a spreadsheet or a chat. Data is queried locally, via caniuse-db.

NOTE: Some data might be missing, for example data coming from MDN (usually prefixed mdn-api on caniuse, such as https://caniuse.com/mdn-api_url_canparse_static)

Usage (you will need node an pnpm):

pnpm install

# You can use either a caniuse URL or the feature name
# Output is tsv by default, which you can copy into a spreadsheet
node query.mjs query css-focus-visible
node query.mjs query https://caniuse.com/css-focus-visible

# table output option
node query.mjs query https://caniuse.com/css-focus-visible --format table

Keywords

caniuse

FAQs

Package last updated on 25 Sep 2023

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