{"id":16295853,"url":"https://github.com/hamlim/ds","last_synced_at":"2025-09-11T07:39:03.414Z","repository":{"id":28085112,"uuid":"116073153","full_name":"hamlim/ds","owner":"hamlim","description":"A simple build script and format for building a design system from config files.","archived":false,"fork":false,"pushed_at":"2025-07-31T16:23:28.000Z","size":1627,"stargazers_count":2,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-01T21:54:27.393Z","etag":null,"topics":["design-systems"],"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/hamlim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-03T00:51:38.000Z","updated_at":"2025-07-31T16:23:26.000Z","dependencies_parsed_at":"2022-08-07T13:15:19.464Z","dependency_job_id":null,"html_url":"https://github.com/hamlim/ds","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/hamlim/ds","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamlim%2Fds","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamlim%2Fds/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamlim%2Fds/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamlim%2Fds/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hamlim","download_url":"https://codeload.github.com/hamlim/ds/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamlim%2Fds/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274595758,"owners_count":25314018,"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-09-11T02:00:13.660Z","response_time":74,"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":["design-systems"],"created_at":"2024-10-10T20:20:00.596Z","updated_at":"2025-09-11T07:39:03.365Z","avatar_url":"https://github.com/hamlim.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DS\n\nDS is a simple node script to build out a json config file for css-in-js design systems. It consumes three paths to:\n\n* `colors.js`\n* `fonts.js`\n* `numbers.js`\n\nand then generates a json string representation of the design system.\n\n## Use:\n\n```bash\n# CLI\nyarn ds-cli --config='./appconfig.json'\n```\n\n```Javascript\n// Use in a build script\n\nimport ds from '@matthamlin/ds';\n\nconst stringifiedJSON = ds({\n  fonts: require('path/to/fonts.js'),\n  colors: require('path/to/colors.js'),\n  numbers: require('path/to/numbers.js')\n});\n\n// fs.writeFile('./out.json', stringifiedJSON);\n// JSON.parse(stringifiedJSON);\n```\n\n### What does it look like?\n\nTo see an example of this in action, clone the repo, cd to `packages/ds`, run `yarn` then `yarn make-example` and see `./example/out.json` file generated.\n\n\n### Prior Art:\n\n* [design-system-utils](https://github.com/mrmartineau/design-system-utils)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhamlim%2Fds","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhamlim%2Fds","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhamlim%2Fds/lists"}