{"id":18681834,"url":"https://github.com/gravityblast/style-rule","last_synced_at":"2025-07-01T11:40:11.418Z","repository":{"id":2796770,"uuid":"3797130","full_name":"gravityblast/style-rule","owner":"gravityblast","description":"Made in CoffeeScript, it adds the ability to manage css style rules from javascript.","archived":false,"fork":false,"pushed_at":"2012-03-22T17:41:54.000Z","size":92,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-18T16:09:53.081Z","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/gravityblast.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":"2012-03-22T11:47:57.000Z","updated_at":"2022-10-14T11:57:23.000Z","dependencies_parsed_at":"2022-08-03T02:00:38.440Z","dependency_job_id":null,"html_url":"https://github.com/gravityblast/style-rule","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gravityblast/style-rule","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gravityblast%2Fstyle-rule","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gravityblast%2Fstyle-rule/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gravityblast%2Fstyle-rule/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gravityblast%2Fstyle-rule/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gravityblast","download_url":"https://codeload.github.com/gravityblast/style-rule/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gravityblast%2Fstyle-rule/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262954382,"owners_count":23390410,"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":[],"created_at":"2024-11-07T10:09:47.372Z","updated_at":"2025-07-01T11:40:11.393Z","avatar_url":"https://github.com/gravityblast.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"#StyleRule\n\n  Cross-browser css style rules management from javascript.\n\n##Example\n    \n    var styleRule    = new StyleRule();\n    var index_red    = styleRule.add(\"body\", \"background: red;\");\n    var index_yellow = styleRule.add(\"body\", \"background: yellow;\");\n    var index_blue   = styleRule.add(\"body\", \"background: blue;\");\n    var index_brown  = styleRule.add(\"body\", \"background: brown;\");\n        \n    styleRule.replace(index_blue, \"body\", \"background: violet;\");\n    styleRule.remove(index_yellow);    ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgravityblast%2Fstyle-rule","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgravityblast%2Fstyle-rule","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgravityblast%2Fstyle-rule/lists"}