{"id":17415430,"url":"https://github.com/actuallyacat/json-to-flat-sass","last_synced_at":"2026-02-22T21:03:41.780Z","repository":{"id":46916974,"uuid":"219414616","full_name":"ActuallyACat/json-to-flat-sass","owner":"ActuallyACat","description":"Small little utility to take a json file and transform it to Less or Sass variables","archived":false,"fork":false,"pushed_at":"2023-01-05T00:03:42.000Z","size":1250,"stargazers_count":0,"open_issues_count":14,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-06T15:50:49.063Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ActuallyACat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-04T04:05:08.000Z","updated_at":"2020-02-14T05:24:37.000Z","dependencies_parsed_at":"2023-02-03T01:00:29.406Z","dependency_job_id":null,"html_url":"https://github.com/ActuallyACat/json-to-flat-sass","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ActuallyACat/json-to-flat-sass","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActuallyACat%2Fjson-to-flat-sass","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActuallyACat%2Fjson-to-flat-sass/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActuallyACat%2Fjson-to-flat-sass/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActuallyACat%2Fjson-to-flat-sass/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ActuallyACat","download_url":"https://codeload.github.com/ActuallyACat/json-to-flat-sass/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActuallyACat%2Fjson-to-flat-sass/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29726858,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-22T20:09:16.275Z","status":"ssl_error","status_checked_at":"2026-02-22T20:09:13.750Z","response_time":110,"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-17T01:43:12.719Z","updated_at":"2026-02-22T21:03:41.758Z","avatar_url":"https://github.com/ActuallyACat.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# json-to-flat-sass\n\nGenerates \"flat\" sass variables from your JSON.\n\nThere's quite a few libraries around that generate Sass from a JSON files. This one provides support for older versions of Sass (\u003c3.3) which do not support (Advanced Variable Functions)[https://sass-lang.com/documentation/variables#advanced-variable-functions]. \n\nTL;DR\nThis:\n```\n{ \n    \"colours\": {\n        \"red\": {\n            \"100\": \"#ff4343\";\n            \"200\": \"#e11f1f\";\n            \"300\": \"#bf0c0c\";\n        }\n    }\n}\n```\ntransforms to this:\n```\n$colours-red-100: \"#ff1313\"\n$colours-red-200: \"#e11f1f\";\n$colours-red-300: \"#bf0c0c\";\n```\n\n\n\n## Usage\n### Install\n```\nyarn add @actuallyacat/json-to-flat-sass\n```\n\n### Usage\n```\njson-to-flat-sass \u003cinput\u003e \u003coutput\u003e [\u003coptional-separator\u003e]\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factuallyacat%2Fjson-to-flat-sass","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Factuallyacat%2Fjson-to-flat-sass","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factuallyacat%2Fjson-to-flat-sass/lists"}