{"id":15503254,"url":"https://github.com/johno/css-variable","last_synced_at":"2026-01-20T02:47:40.443Z","repository":{"id":151933030,"uuid":"43764537","full_name":"johno/css-variable","owner":"johno","description":"A CSS variable transformer, supports Less, Sass, stylus and custom properties","archived":false,"fork":false,"pushed_at":"2015-10-20T01:20:29.000Z","size":144,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-20T05:38:25.234Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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-10-06T16:54:18.000Z","updated_at":"2021-04-27T08:25:28.000Z","dependencies_parsed_at":"2023-04-10T13:37:55.406Z","dependency_job_id":null,"html_url":"https://github.com/johno/css-variable","commit_stats":null,"previous_names":["johnotander/css-variable"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/johno/css-variable","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fcss-variable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fcss-variable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fcss-variable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fcss-variable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johno","download_url":"https://codeload.github.com/johno/css-variable/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fcss-variable/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28594958,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T02:08:49.799Z","status":"ssl_error","status_checked_at":"2026-01-20T02:08:44.148Z","response_time":117,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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:12:37.535Z","updated_at":"2026-01-20T02:47:40.428Z","avatar_url":"https://github.com/johno.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# css-variable [![Build Status](https://secure.travis-ci.org/johnotander/css-variable.png?branch=master)](https://travis-ci.org/johnotander/css-variable) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)\n\nA CSS variable transformer, supports Less, Sass, stylus and custom properties.\n\n## Installation\n\n```bash\nnpm install --save css-variable\n```\n\n## Usage\n\n```javascript\nvar cssVariable = require('css-variable')\n\ncssVariable('--blue').sass()  // =\u003e '$blue'\ncssVariable('@blue').scss()  // =\u003e '$blue'\ncssVariable('var(--blue)').less()  // =\u003e '@blue'\ncssVariable('var(--blue)').stylus()  // =\u003e 'blue'\ncssVariable('blue').css()  // =\u003e '--blue'\ncssVariable('var(--blue)').cssDecl()  // =\u003e '--blue'\ncssVariable('--blue').cssVal()  // =\u003e 'var(--blue)'\ncssVariable('var(--blue)').base()  // =\u003e 'blue'\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%2Fcss-variable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohno%2Fcss-variable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohno%2Fcss-variable/lists"}