{"id":18246335,"url":"https://github.com/subsetcss/config-helpers","last_synced_at":"2026-05-07T06:36:21.009Z","repository":{"id":35047000,"uuid":"200410472","full_name":"subsetcss/config-helpers","owner":"subsetcss","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-04T19:27:09.000Z","size":792,"stargazers_count":1,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-17T23:16:51.559Z","etag":null,"topics":["css","helpers","less","linting","sass","subsetcss","utilities"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/subsetcss.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-08-03T18:52:49.000Z","updated_at":"2022-01-15T15:20:39.000Z","dependencies_parsed_at":"2023-01-15T12:45:44.571Z","dependency_job_id":null,"html_url":"https://github.com/subsetcss/config-helpers","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subsetcss%2Fconfig-helpers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subsetcss%2Fconfig-helpers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subsetcss%2Fconfig-helpers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subsetcss%2Fconfig-helpers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/subsetcss","download_url":"https://codeload.github.com/subsetcss/config-helpers/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247911223,"owners_count":21016853,"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":["css","helpers","less","linting","sass","subsetcss","utilities"],"created_at":"2024-11-05T09:25:31.152Z","updated_at":"2026-05-07T06:36:15.962Z","avatar_url":"https://github.com/subsetcss.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @subsetcss/config-helpers\n\nHelpers for building out `.subsetcss.js` config files.\n\n## Available helpers\n\n### `getVariables`\n\n```js\nconst { getVariables } = require('@subsetcss/config-helpers');\n\nlet colors = getVariables('app/styles/variables.scss');\n// colors = [\n//   { key: '$primary': value: 'red' },\n//   { key: '$secondary': value: 'blue' }\n// ]\n\nmodule.exports = {\n  subsets: {\n    color: colors.map(c =\u003e c.key)\n  }\n};\n```\n\nWorks for files ending in `.scss` and `.less`.\n\n## Contributing\n\nCheck out the [Contributing guide](CONTRIBUTING.md).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubsetcss%2Fconfig-helpers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsubsetcss%2Fconfig-helpers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubsetcss%2Fconfig-helpers/lists"}