{"id":13524866,"url":"https://github.com/sgentle/caniuse-cmd","last_synced_at":"2025-05-15T02:06:16.257Z","repository":{"id":28734205,"uuid":"32255521","full_name":"sgentle/caniuse-cmd","owner":"sgentle","description":"Caniuse command line tool","archived":false,"fork":false,"pushed_at":"2018-09-19T15:16:06.000Z","size":19,"stargazers_count":1627,"open_issues_count":16,"forks_count":53,"subscribers_count":31,"default_branch":"master","last_synced_at":"2025-04-13T23:54:45.297Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"CoffeeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sgentle.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-15T10:50:13.000Z","updated_at":"2025-04-13T05:52:48.000Z","dependencies_parsed_at":"2022-08-07T14:00:39.148Z","dependency_job_id":null,"html_url":"https://github.com/sgentle/caniuse-cmd","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgentle%2Fcaniuse-cmd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgentle%2Fcaniuse-cmd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgentle%2Fcaniuse-cmd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgentle%2Fcaniuse-cmd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sgentle","download_url":"https://codeload.github.com/sgentle/caniuse-cmd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254259370,"owners_count":22040819,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T06:01:14.132Z","updated_at":"2025-05-15T02:06:16.231Z","avatar_url":"https://github.com/sgentle.png","language":"CoffeeScript","funding_links":[],"categories":["Development","CoffeeScript","awesome CLI 🔧","\\*nix/\\*nux","Web Development","Содержание:","{{ NodeJS }}","Ep147: Web Features, Form Design, Color Pickers","Uncategorized"],"sub_categories":["Frontend Development","开发者必备 🚀","Developer","Web Development","Стилизация и CSS","Uncategorized"],"readme":"caniuse-cmd\n===========\n\nJust what you've always wanted, it's a `caniuse` command line tool!\nAll the power of [caniuse.com](http://caniuse.com) with none of the nice UI or interactivity!\n\n\nHow do?\n-------\n\nInstall with `npm install -g caniuse-cmd`.\n\nThen type things like this:\n\n```\n$ caniuse websockets\nWeb Sockets ✔ 85.22% ◒ 1.35% [W3C Candidate Recommendation]\n  Bidirectional communication technology for web apps #JSAPI\n\n  IE ✘ 5.5+ ✔ 10+\n  Firefox ✘ 2+ ◒ 4+¹ ◒ 6+ᵖ² ✔ 11+\n  Chrome ◒ 4+¹ ◒ 15+² ✔ 16+\n  Safari ✘ 3.1+ ◒ 5+¹ ◒ 6+² ✔ 7+\n  Opera ✘ 9+ ◒ 11+¹ ✔ 12.1+\n\n    ¹Partial support refers to the websockets implementation using an older version of the protocol and/or the\n    implementation being disabled by default (due to security issues with the older protocol).\n    ²Partial support refers to lacking support for binary data.\n```\n\n(The output has truly marvellous colours that this markdown is too narrow to contain.)\n\nOr this:\n\n```\n$ caniuse input\ncaniuse input\nHTML5 form features ✔ 4.21% ◒ 82.39%\n  IE ✘ 5.5+ ◒ 10+ Firefox ✘ 2+ ◒ 4+ Chrome ◒  Safari ✘ 3.1+ ◒ 4+ Opera ✔ 9+ ◒ 15+\nSpellcheck attribute ✔ 60.31% ◒ 31.63%\n  IE ✘ 5.5+ ✔ 10+ Firefox ✔  Chrome ✘ 4+ ✔ 9+ Safari ✘ 3.1+ ✔ 5.1+ Opera ✘ 9+ ✔ 10.5+\nRange input type ✔ 87.46% ◒ 1.18%\n  IE ✘ 5.5+ ✔ 10+ Firefox ✘ 2+ ✔ 23+ Chrome ‽ 4+ ✔ 5+ Safari ✔  Opera ✔\nDate and time input types ✔ 60.76% ◒ 0%\n  IE ✘  Firefox ✘  Chrome ✘ 4+ ✔ 20+ Safari ✘  Opera ✔\nColor input type ✔ 60.93% ◒ 3.84%\n  IE ✘  Firefox ✘ 2+ ✔ 29+ Chrome ✘ 4+ ✔ 20+ Safari ✘  Opera ✘ 9+ ✔ 11+ ✘ 15+ ✔ 17+\nNumber input type ✔ 49.95% ◒ 38.03%\n  IE ✘ 5.5+ ◒ 10+ Firefox ✘ 2+ ✔ 29+ Chrome ✘ 4+ ✔ 6+ Safari ✘ 3.1+ ✔ 5+ Opera ✔\ninput placeholder attribute ✔ 88.04% ◒ 1.15%\n  IE ✘ 5.5+ ✔ 10+ Firefox ✘ 2+ ✔ 4+ Chrome ✔  Safari ◒ 3.1+ ✔ 5+ Opera ✘ 9+ ◒ 11+ ✔ 11.5+\nPointer events ✔ 8.5% ◒ 1.67%\n  IE ✘ 5.5+ ◒ 10+ᵖ ✔ 11+ Firefox ✘  Chrome ✘  Safari ✘ 3.1+ ‽ 6.1+ Opera ✘\nWeb Speech API\n  IE ✘  Firefox ✘  Chrome ✘ 4+ ◒ 25+ᵖ Safari ✘ 3.1+ ◒ 6.1+ᵖ ◒ 7.1+ Opera ✘\nMultiple file selection ✔ 67.63% ◒ 0%\n  IE ✘ 5.5+ ✔ 10+ Firefox ✘ 2+ ✔ 3.6+ Chrome ✘ 4+ ✔ 5+ Safari ✘ 3.1+ ✔ 4+ Opera ✘ 9+ ✔ 10.6+\nGamepad API ✔ 46.08% ◒ 0%\n  IE ✘  Firefox ✘ 2+ ✔ 29+ Chrome ✘ 4+ ✔ 21+ᵖ ✔ 25+ Safari ✘  Opera ✘ 9+ ✔ 24+\nPattern attribute for input fields ✔ 72.88% ◒ 0.7%\n  IE ✘ 5.5+ ✔ 10+ Firefox ✘ 2+ ✔ 4+ Chrome ✘ 4+ ✔ 10+ Safari ✘  Opera ✘ 9+ ✔ 9.5-9.6+\n```\n\nDoes it have lots of command line options?\n------------------------------------------\n\nYes!\n\n```\n$ caniuse --help\nOptions:\nOptions:\n  --short, -s            Short output: show browsers on one line and don't\n                         display notes or description (default when displaying\n                         multiple results)                             [boolean]\n  --long, -l             Long output: show more information (default when\n                         displaying a single result)                   [boolean]\n  --oneline, -1          One-line output: just global percentages, no per-\n                         browser info                 [boolean] [default: false]\n  --oneline-browser, -2  One-line output with browser info, implies --abbrev and\n                         --current                    [boolean] [default: false]\n  --abbrev, -a           Abbreviate browser names     [boolean] [default: false]\n  --percentages, -p      Include browser version usage percentages\n                                                      [boolean] [default: false]\n  --future, -f           Include future browser versions\n                                                      [boolean] [default: false]\n  --current, -c          Don't include old browser versions, equivalent to --era\n                         e0                           [boolean] [default: false]\n  --era, -e              How many versions back to go, e0 to e-40       [string]\n  --mobile, -m           Include mobile browsers      [boolean] [default: false]\n  --desktop, -d          Include desktop browsers      [boolean] [default: true]\n  --browser, -b          Show results for these browsers, comma-separated (ie,\n                         edge,firefox,chrome,safari,opera,ios_saf,op_mini,\n                         android,bb,op_mob,and_chr,and_ff,ie_mob,and_uc)\n                                                                        [string]\n  --web, -w              Go to the search page on caniuse.com\n                                                      [boolean] [default: false]\n  --config, -C           Path to JSON config file\n                                 [string] [default: \"/Users/user/.caniuse.json\"]\n  --ascii, -A            UTF-8 symbols replacement with ASCII description\n                                                      [boolean] [default: false]\n  --help                 Show help                                     [boolean]\n\n```\n\n\nWoah, that's a lot of options! Can haz config file?\n---------------------------------------------------\n\nYes! You can specify your own defaults by creating a file called `.caniuse.json`\nand putting it in your home directory.\n\nFor example, if you're primarily interested in mobile browsers two versions back:\n\n```\n{\n  \"era\": \"e-2\",\n  \"mobile\": true,\n  \"desktop\": false\n}\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsgentle%2Fcaniuse-cmd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsgentle%2Fcaniuse-cmd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsgentle%2Fcaniuse-cmd/lists"}