{"id":28456811,"url":"https://github.com/cssinjs/caniuse-support","last_synced_at":"2025-07-17T18:32:23.701Z","repository":{"id":13430322,"uuid":"74356564","full_name":"cssinjs/caniuse-support","owner":"cssinjs","description":"Query the caniuse offline database for feature support.","archived":false,"fork":false,"pushed_at":"2023-01-07T03:58:52.000Z","size":1268,"stargazers_count":8,"open_issues_count":18,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-08T18:44:30.525Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/cssinjs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-11-21T11:24:29.000Z","updated_at":"2020-07-30T16:33:39.000Z","dependencies_parsed_at":"2023-01-14T07:46:16.281Z","dependency_job_id":null,"html_url":"https://github.com/cssinjs/caniuse-support","commit_stats":null,"previous_names":["wikiwi/caniuse-support"],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/cssinjs/caniuse-support","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cssinjs%2Fcaniuse-support","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cssinjs%2Fcaniuse-support/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cssinjs%2Fcaniuse-support/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cssinjs%2Fcaniuse-support/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cssinjs","download_url":"https://codeload.github.com/cssinjs/caniuse-support/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cssinjs%2Fcaniuse-support/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265518906,"owners_count":23781041,"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":"2025-06-06T23:09:05.418Z","updated_at":"2025-07-17T18:32:23.696Z","avatar_url":"https://github.com/cssinjs.png","language":"TypeScript","readme":"# caniuse-support\n\n[![Build Status](https://travis-ci.org/cssinjs/caniuse-support.svg?branch=master)](https://travis-ci.org/cssinjs/caniuse-support)\n[![Coverage Status](https://coveralls.io/repos/github/cssinjs/caniuse-support/badge.svg?branch=master)](https://coveralls.io/github/cssinjs/caniuse-support?branch=master) [![Greenkeeper badge](https://badges.greenkeeper.io/cssinjs/caniuse-support.svg)](https://greenkeeper.io/)\n\nQuery the [caniuse offline database](https://github.com/Fyrd/caniuse) for feature support.\n\nIncludes browser detection using [bowser](https://github.com/ded/bowser).\n\n## Usage\n\n```javascript\nimport { getSupport, detectBrowser, getVersionIndex } from \"caniuse-support\";\n\n// Get feature support of specific browser.\ngetSupport(\"flexbox\", { id: \"chrome\", version: \"6.0\" }); // { level: \"partial\", needPrefix: true, notes: [1] }\n\n// Get feature support of specific browser using an user agent string.\nconst userAgent = \"Mozilla/5.0 (Mobile; rv:26.0) Gecko/26.0 Firefox/26.0\";\ngetSupport(\"transforms2d\", detectBrowser(userAgent)); // { level: \"full\", needPrefix: false, notes: [] }\n\n// Get matching caniuse version index.\ngetVersionIndex(detectBrowser(userAgent)); // \"26\"\n```\n\nFor a list of queryable features see [here](https://github.com/Fyrd/caniuse/tree/master/features-json).\n\n## Playground\n\nCheckout this [code pen](http://codepen.io/wikiwi/pen/QGpgKp?editors=0012).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcssinjs%2Fcaniuse-support","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcssinjs%2Fcaniuse-support","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcssinjs%2Fcaniuse-support/lists"}