{"id":21201886,"url":"https://github.com/ansumanshah/css-in-js","last_synced_at":"2025-10-14T01:39:02.881Z","repository":{"id":21294137,"uuid":"92157800","full_name":"ansumanshah/css-in-js","owner":"ansumanshah","description":"Autocomplete React Native / JS Styles and converting plain CSS to JS styles","archived":false,"fork":false,"pushed_at":"2023-03-30T19:00:10.000Z","size":9406,"stargazers_count":208,"open_issues_count":26,"forks_count":21,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-08-24T19:01:16.536Z","etag":null,"topics":["atom","css-in-js","glamor","glamorous","jss","styled-components"],"latest_commit_sha":null,"homepage":"https://atom.io/packages/css-in-js","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/ansumanshah.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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":"2017-05-23T10:00:52.000Z","updated_at":"2025-07-25T01:34:41.000Z","dependencies_parsed_at":"2025-01-08T23:45:32.480Z","dependency_job_id":null,"html_url":"https://github.com/ansumanshah/css-in-js","commit_stats":{"total_commits":62,"total_committers":5,"mean_commits":12.4,"dds":0.467741935483871,"last_synced_commit":"304fc7d9bf6fd2b382f3a2cf73542af368376cce"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/ansumanshah/css-in-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansumanshah%2Fcss-in-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansumanshah%2Fcss-in-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansumanshah%2Fcss-in-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansumanshah%2Fcss-in-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ansumanshah","download_url":"https://codeload.github.com/ansumanshah/css-in-js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansumanshah%2Fcss-in-js/sbom","scorecard":{"id":198286,"data":{"date":"2025-08-11","repo":{"name":"github.com/ansumanshah/css-in-js","commit":"304fc7d9bf6fd2b382f3a2cf73542af368376cce"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"name":"Code-Review","score":1,"reason":"Found 3/19 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 17 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-16T22:15:51.440Z","repository_id":21294137,"created_at":"2025-08-16T22:15:51.441Z","updated_at":"2025-08-16T22:15:51.441Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279017496,"owners_count":26086085,"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","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["atom","css-in-js","glamor","glamorous","jss","styled-components"],"created_at":"2024-11-20T20:11:55.588Z","updated_at":"2025-10-14T01:39:02.836Z","avatar_url":"https://github.com/ansumanshah.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Autocomplete for React Native and css-in-js for Atom and VS Code\n\n[![Star on GitHub][github-star-badge]][github-star][![Tweet][twitter-badge]][twitter]\n[![PRs Welcome][prs-badge]][prs]\n[![Version][version-badge]][package]\n[![MIT License][license-badge]][LICENSE]\n\nNow get Autocomplete for CSSinJS libraries using object styles.\n\u003ca href=\"https://app.codesponsor.io/link/jZ7oK2ZsGezatDv9YZW6fM3e/ansumanshah/css-in-js\" rel=\"nofollow\"\u003e\u003cimg src=\"https://app.codesponsor.io/embed/jZ7oK2ZsGezatDv9YZW6fM3e/ansumanshah/css-in-js.svg\" style=\"width: 888px; height: 68px;\" alt=\"Sponsor\" /\u003e\u003c/a\u003e\n\n## Installation\n```\napm install css-in-js\n```\nOr go to Settings → Install and search for `css-in-js`\n\n## Usage\n```js\nconst btnA = css({ /* styles */ });\nconst btnB = glamorous.div({ /* styles */ });\nconst btnC = StyleSheet.create({ /* styles */ });\n```\nOnly works for these keywords by default you can edit in settings for more.\n\n`glamorous | css | StyleSheet.create`\n\n![ReactNative][native-demo]\n\n![Autocomplete][autocomplete-demo]\n\nDoes not work for general objects\n```js\nlet styles = {\n  /* styles */\n}\n```\nThis is basically a fork of [autocomplete-css](https://github.com/atom/autocomplete-css)\n\n## [CSS in JS for VS Code](https://marketplace.visualstudio.com/items?itemName=paulmolluzzo.convert-css-in-js)\n\n\u003e Provides CSS in JS autocompletion and converts kebab-case CSS to camelCase CSS and vice versa\n\n* Provides autocompletion options for CSS styles as a style object for use in CSS in JS (like [`glamorous`](https://github.com/paypal/glamorous/)!)\n* Converts CSS between regular CSS syntax (strings) and CSS-in-JS syntax (style objects)\n\n### Autocomplete\n![autocomplete](https://user-images.githubusercontent.com/737065/30726961-1fbd6794-9f1c-11e7-828b-fc6793b238bc.gif)\n\n### Convert CSS in JS\n![demo](https://user-images.githubusercontent.com/737065/28219279-6ffbf4c4-6889-11e7-8d3d-51637fe90856.gif)\n\n### How to Use CSS Conversion\n\nSelect some block of text in a `javascript` or `typescript` file and use `cmd+shift+p` to bring up the command palette, then select `Convert CSS-in-JS`.\n\nOr use the keyboard shortcut `cmd+shift+j` (`ctrl+shift+j` on Windows).\n\n---\n\nComing Soon\n\n*Codemods for easy shifting between css-in-js libraries*\n\n[autocomplete-demo]: https://raw.githubusercontent.com/ansumanshah/css-in-js/master/packages/atom-css-in-js/cssinjs.gif\n[native-demo]: https://raw.githubusercontent.com/ansumanshah/css-in-js/master/packages/atom-css-in-js/native.gif\n[converter-demo]: https://raw.githubusercontent.com/ansumanshah/css-in-js/master/packages/atom-css-in-js/example.gif\n\n[github-star-badge]: https://img.shields.io/github/stars/ansumanshah/css-in-js.svg?style=social\n[github-star]: https://github.com/ansumanshah/css-in-js/stargazers\n[twitter]: https://twitter.com/intent/tweet?text=Check%20out%20Atom%20Autocomplete%20css-in-js!%20https://github.com/ansumanshah/css-in-js%20%F0%9F%91%8D\n[twitter-badge]: https://img.shields.io/twitter/url/https/github.com/ansumanshah/css-in-js.svg?style=social\n\n[version-badge]: https://img.shields.io/apm/v/css-in-js.svg?style=flat-square\n[package]: https://atom.io/packages/css-in-js\n[license-badge]: https://img.shields.io/apm/l/css-in-js.svg?style=flat-square\n[license]: https://github.com/ansumanshah/css-in-js/blob/master/LICENSE\n[prs-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square\n[prs]: http://makeapullrequest.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fansumanshah%2Fcss-in-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fansumanshah%2Fcss-in-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fansumanshah%2Fcss-in-js/lists"}