{"id":22444929,"url":"https://github.com/techmsi/autostyles","last_synced_at":"2025-03-27T10:43:37.880Z","repository":{"id":31290655,"uuid":"34852706","full_name":"techmsi/autostyles","owner":"techmsi","description":"NPM module for transforming css into automatic style guides.","archived":false,"fork":false,"pushed_at":"2022-05-28T17:49:13.000Z","size":831,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-02-01T15:27:27.727Z","etag":null,"topics":["dev-tool","javascript","npm-module"],"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/techmsi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-30T12:15:59.000Z","updated_at":"2021-12-11T17:23:41.000Z","dependencies_parsed_at":"2022-09-09T07:41:14.360Z","dependency_job_id":null,"html_url":"https://github.com/techmsi/autostyles","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techmsi%2Fautostyles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techmsi%2Fautostyles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techmsi%2Fautostyles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techmsi%2Fautostyles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/techmsi","download_url":"https://codeload.github.com/techmsi/autostyles/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245832612,"owners_count":20679701,"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":["dev-tool","javascript","npm-module"],"created_at":"2024-12-06T03:10:57.665Z","updated_at":"2025-03-27T10:43:37.857Z","avatar_url":"https://github.com/techmsi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# autostyles\n\nNPM module for transforming css into automatic style guides.\n\n[![js-semistandard-style](https://cdn.rawgit.com/flet/semistandard/master/badge.svg)](https://github.com/Flet/semistandard)\n\n## Install (Privately)\n\n```bash\nnpm install --save-dev autostyles\n```\n\n### Run (Privately)\n\n- add these lines to your package.json\n\n```json\n\"scripts\": {\n  \"styleguide\": \"buildguide\",\n}\n```\n\nTHEN\n\n```bash\nnpm run styleguide\n```\n\nOR\n\n## Install (Globally)\n\n```bash\nnpm install autostyles -g\n```\n\n## Usage (Globally)\n\n```bash\nbuildguide\n```\n\nYou will be prompted for the source \u0026 destination folders. This information will be used to generate your style guide.\n\n- ✔ Turn debug on to get log info? **yes**\n- ✔ Source folder **./my-css** `Source folder containing css files`\n- ✔ Destination folder **dist** `Destination folder final guide files`\n\n# Examples\n\nThe css files located inside the `/css` folder\n\n```\n  /css\n    |-- sample.css\n    |-- sample2.css\n```\n\nare transformed into\n\n```\n/dist\n  |-- index.html\n  |-- page0.html\n  |-- page1.html\n  |-- css\n        |-- autostyles.css\n        |-- autostyles.js\n        |-- sample.css\n        |-- sample2.css\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechmsi%2Fautostyles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechmsi%2Fautostyles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechmsi%2Fautostyles/lists"}