{"library":"doiuse","type":"library","category":null,"description":"Doiuse is a JavaScript library and CLI tool that lints CSS code for browser support issues by comparing features used in the CSS against the Can I use database. It helps developers identify CSS properties and values that are not supported by their target browser list, preventing unexpected rendering problems. The current stable version is 6.0.6, released in early 2024, with maintenance releases occurring as needed to fix bugs and update feature definitions. It integrates well into build pipelines, notably as a PostCSS plugin or a transform stream. A key differentiator is its direct reliance on the `caniuse` database for accurate, up-to-date compatibility data, allowing for highly customizable browser targets using `browserslist` syntax. While it focuses on identifying unsupported features, its \"naive\" detection approach means it primarily checks for direct property/value matches rather than complex runtime interpretation, offering a fast and focused linting experience.","language":"javascript","status":"active","version":"6.0.6","tags":["javascript","lint","css","browser","support","caniuse","stylelint"],"last_verified":"Wed May 27","install":[{"cmd":"npm install doiuse","imports":["import DoIUse from 'doiuse/lib/DoIUse.js';","import doiuse from 'doiuse/stream';","const doiuseCli = require('doiuse');","const DoIUse = require('doiuse/lib/DoIUse');"]},{"cmd":"yarn add doiuse","imports":[]},{"cmd":"pnpm add doiuse","imports":[]}],"homepage":null,"github":"https://github.com/anandthakker/doiuse","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/doiuse","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/doiuse/compatibility"}}