{"id":18185077,"url":"https://github.com/jaandrle/jaacss-cli","last_synced_at":"2026-04-13T12:31:18.801Z","repository":{"id":50783853,"uuid":"371953699","full_name":"jaandrle/jaaCSS-cli","owner":"jaandrle","description":"EXPERIMENT – Helper for managing atomic CSS (functional CSS/utility-first CSS)","archived":false,"fork":false,"pushed_at":"2022-09-02T13:33:16.000Z","size":219,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-11T02:41:44.469Z","etag":null,"topics":["atomic-css","cli","css","functional-css","no-dependencies","nodejs","utility-first"],"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/jaandrle.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":"2021-05-29T11:19:33.000Z","updated_at":"2021-12-04T10:25:08.000Z","dependencies_parsed_at":"2022-08-24T07:20:17.097Z","dependency_job_id":null,"html_url":"https://github.com/jaandrle/jaaCSS-cli","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/jaandrle/jaaCSS-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaandrle%2FjaaCSS-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaandrle%2FjaaCSS-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaandrle%2FjaaCSS-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaandrle%2FjaaCSS-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jaandrle","download_url":"https://codeload.github.com/jaandrle/jaaCSS-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaandrle%2FjaaCSS-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31753016,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T09:16:15.125Z","status":"ssl_error","status_checked_at":"2026-04-13T09:16:05.023Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["atomic-css","cli","css","functional-css","no-dependencies","nodejs","utility-first"],"created_at":"2024-11-02T22:05:54.095Z","updated_at":"2026-04-13T12:31:18.779Z","avatar_url":"https://github.com/jaandrle.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jaaCSS-cli\n***Warning: WIP and for now mainly experiment***\n\n## Overview\nThis is command line (terminal) tool for managing functional (atomic) CSS clases.\nYou can “connect” the script with CSS/SASS file by `node jaaCSS.js -I file_path` (on unix-like systems works without 'node ').\n\nIt opens interactive promt with typical usage:\n```terminal\n? marginR\n+ marginR__2\n? fontS__1\n- fontS__1\n+ fontS__1d5\n```\n…in you web page, you wanted some right margin – so, you ask for already used margins, yet you decide to use new one. Analogously for font size.\n\nMore info for now only in source code [./src](./src).\n\n## Example files\nModified files should look like:\n- [./examples/example.css](./examples/example.css)\n- [./examples/example.scss](./examples/example.css)\n\n## CLI help\n### main\n```\n  jaaCSS@1.2.1\n  EXPERIMENT – Helper for managing functional CSS classes\n  Usage: jaaCSS --[cmd] [param]\n    …cmd: help, init, html, interactive, eval\n    …param: Based on cmd\n\n  Help:\n    Commands:\n      --help|-h\n        Shows this text\n      --init css_like_file\n        Creates inital file structure with `jaaCSS` section\n        The section is separated by comments `/* jaaCSS:start/end */`\n        This command/step can be ommited,\n        the `-I` will do it itself, if the section doesn’t exists.\n      --html html_like_file\n        [WIP] Show classes from HTML\n      --interactive|-I css_like_file\n        Interactive shell for manipulating with `jaaCSS` section.\n        With prefixes +/- you can add/remove styles from file (e.g. `+ fontS__1`).\n        With prefix '?' you can filter existing rules.\n        Using 'q' quits shell and program.\n        Without prefixes it works as `--eval`.\n      --eval value_c\n        Just console log conversion\n    Params:\n      css_like_file\n        CSS (like) file\n      html_like_file\n        HTML (like) file\n      value_c\n        The value part for evaluing in the form:\n          - `property: value;` …or\n          - `property__value`\n```\n### interactive mod\n```\nnode jaaCSS.js \"-I\" \"example.css\"\n\n  jaaCSS@1.2.1\n  EXPERIMENT – Helper for managing functional CSS classes\n  Usage: jaaCSS --[cmd] [param]\n    …cmd: help, init, html, interactive, eval\n    …param: Based on cmd\n\n  Interactive shell\n  q: Quit interactive shell\n   : Just echo full rule (e.g. `fontS__1`)\n  ?: Searching registered rules (e.g. `? fontS`)\n  +: Add rule to the file (e.g. `+ fontS__1`)\n  -: Remove rule to the file (e.g. `- fontS__1`)\n  !: Add rule by full recepy (e.g. `! color__urgent { color: red; }`\n  =: [WIP] Compare classes in CSS like file and HTML like one (`\u003e` only in CSS | `\u003c` only in HTML)\n  @: Converting class names (for example from HTML) to the CSS rules/SASS includes.\n  just write anything to converse or start line with: q/ /?/+/-/!/=/@\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaandrle%2Fjaacss-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaandrle%2Fjaacss-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaandrle%2Fjaacss-cli/lists"}