{"id":20469570,"url":"https://github.com/component-driven/antbear","last_synced_at":"2025-12-01T18:04:36.011Z","repository":{"id":39594034,"uuid":"283589560","full_name":"component-driven/antbear","owner":"component-driven","description":"Analyze custom styles usage in the project","archived":false,"fork":false,"pushed_at":"2023-10-03T06:18:41.000Z","size":890,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-27T19:43:12.484Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/component-driven.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":"Contributing.md","funding":null,"license":"License.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-29T19:51:56.000Z","updated_at":"2023-02-13T21:35:29.000Z","dependencies_parsed_at":"2024-09-25T06:21:38.587Z","dependency_job_id":"4398d52d-bb74-40bd-bcff-b800a24b5ef6","html_url":"https://github.com/component-driven/antbear","commit_stats":null,"previous_names":["sapegin/antbear"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/component-driven%2Fantbear","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/component-driven%2Fantbear/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/component-driven%2Fantbear/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/component-driven%2Fantbear/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/component-driven","download_url":"https://codeload.github.com/component-driven/antbear/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242031760,"owners_count":20060635,"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-11-15T14:09:34.008Z","updated_at":"2025-12-01T18:04:30.976Z","avatar_url":"https://github.com/component-driven.png","language":"JavaScript","readme":"# [WIP] antbear\n\n[![Build Status](https://travis-ci.org/component-driven/antbear.svg)](https://travis-ci.org/component-driven/antbear) [![npm](https://img.shields.io/npm/v/antbear.svg)](https://www.npmjs.com/package/antbear)\n\nAnalyze custom styles usage in the project.\n\n## Motivation\n\nWe shouldn’t use custom styles on the application level. We should compose our user interfaces from primitive components. Sometimes, a component library isn’t flexible enough to make it possible, especially when it’s young.\n\nBy analyzing custom styles usage in the application and finding which component’s styles developers override the most, we can find what’s missing in the component library: missing component props, missing design tokens, and so on.\n\n## Supports\n\n- [x] JavaScript files\n- [x] TypeScript and Flow files\n- [x] styled-components and Emotion (`styled` factory)\n- [ ] `sx` and `css` props ([Theme UI](https://theme-ui.com/sx-prop))\n- [ ] CSS\n- [ ] CSS Modules\n- [ ] Sass\n\n## Statistics\n\n- [x] Custom styles per module\n- [x] Overridden elements\n- [x] Overridden components\n- [x] CSS properties\n- [x] CSS values\n- [x] Custom colors (very basic, needs more work)\n- [x] Custom spacing\n- [x] Components and props\n- [x] Components, props and values\n\n## Installation\n\n```\nnpm install antbear\n```\n\n### Usage\n\n```\nnpx antbear 'src/**/*.{js,ts,tsx}'\n```\n\n## Changelog\n\nThe changelog can be found on the [Releases page](https://github.com/component-driven/antbear/releases).\n\n## Contributing\n\nEveryone is welcome to contribute. Please take a moment to review the [contributing guidelines](Contributing.md).\n\n## Authors and license\n\n[Artem Sapegin](https://sapegin.me) and [contributors](https://github.com/component-driven/antbear/graphs/contributors).\n\nMIT License, see the included [License.md](License.md) file.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomponent-driven%2Fantbear","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcomponent-driven%2Fantbear","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomponent-driven%2Fantbear/lists"}