{"id":15502850,"url":"https://github.com/johno/postcss-get-variables","last_synced_at":"2025-08-23T13:32:14.296Z","repository":{"id":34667288,"uuid":"38639370","full_name":"johno/postcss-get-variables","owner":"johno","description":"PostCSS plugin to get an object containing CSS variables and their values.","archived":false,"fork":false,"pushed_at":"2017-07-07T17:41:17.000Z","size":7,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-18T03:46:58.721Z","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/johno.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-06T18:54:29.000Z","updated_at":"2021-02-15T15:17:04.000Z","dependencies_parsed_at":"2022-09-18T17:50:43.421Z","dependency_job_id":null,"html_url":"https://github.com/johno/postcss-get-variables","commit_stats":null,"previous_names":["johnotander/postcss-get-variables"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/johno/postcss-get-variables","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fpostcss-get-variables","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fpostcss-get-variables/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fpostcss-get-variables/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fpostcss-get-variables/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johno","download_url":"https://codeload.github.com/johno/postcss-get-variables/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fpostcss-get-variables/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271749051,"owners_count":24814115,"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-08-23T02:00:09.327Z","response_time":69,"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":[],"created_at":"2024-10-02T09:11:18.987Z","updated_at":"2025-08-23T13:32:14.252Z","avatar_url":"https://github.com/johno.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# postcss-get-variables [![Build Status](https://secure.travis-ci.org/johnotander/postcss-get-variables.png?branch=master)](https://travis-ci.org/johnotander/postcss-get-variables) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)\n\nGet an object with variables and their values. This is useful for creating living styleguides, etc.\n\nCurrently only supports W3C variable syntax.\n\n## Installation\n\n```bash\nnpm install --save postcss-get-variables\n```\n\n## Usage\n\n```javascript\nvar postcss = require('postcss')\nvar getVariables = require('postcss-get-variables')\n\nvar output = postcss([\n  getVariables(function(variables) {\n    console.log(variables)\n  })\n]).process(css)\n```\n\n## License\n\nMIT\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\nCrafted with \u003c3 by John Otander ([@4lpine](https://twitter.com/4lpine)).\n\n***\n\n\u003e This package was initially generated with [yeoman](http://yeoman.io) and the [p generator](https://github.com/johnotander/generator-p.git).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohno%2Fpostcss-get-variables","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohno%2Fpostcss-get-variables","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohno%2Fpostcss-get-variables/lists"}