{"id":22788959,"url":"https://github.com/ripeworks/rackem-sass","last_synced_at":"2026-05-03T04:34:16.227Z","repository":{"id":11719043,"uuid":"14239592","full_name":"ripeworks/rackem-sass","owner":"ripeworks","description":"SASS middleware for Rack'em","archived":false,"fork":false,"pushed_at":"2014-04-08T15:45:03.000Z","size":156,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-05T18:02:53.023Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","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/ripeworks.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":"2013-11-08T17:26:32.000Z","updated_at":"2014-04-08T15:45:02.000Z","dependencies_parsed_at":"2022-09-04T18:11:17.417Z","dependency_job_id":null,"html_url":"https://github.com/ripeworks/rackem-sass","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ripeworks%2Frackem-sass","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ripeworks%2Frackem-sass/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ripeworks%2Frackem-sass/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ripeworks%2Frackem-sass/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ripeworks","download_url":"https://codeload.github.com/ripeworks/rackem-sass/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246344255,"owners_count":20762168,"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-12-12T01:39:11.544Z","updated_at":"2026-05-03T04:34:16.187Z","avatar_url":"https://github.com/ripeworks.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rack'em Sass\n\nRack'em middleware to serve SASS dynamically.\n\n## Usage\n\n```php\n\u003c?php\n# config.php\n\n// Rack up the middleware and you are good to go!\n\\Rackem::use_middleware(new \\Rackem\\Sass());\n\n\n// or map to a specific path\n\\Rackem::map(\"/css\", function($env) {\n\t$sass = new \\Rackem\\Sass\\Environment();\n\t$sass-\u003eappend_path(\"src/sass\");\n\n\treturn $sass-\u003ecall($env);\n});\n\n```\n\n## Options\n\nYou can pass an options `array()` with the middleware, or to a `Rackem\\Sass\\Enviroment` instance.\n\n| Option | Info | Default |\n|--------|------|---------|\n| __accepts__ | File extensions used to locate sass source files (order matters). | `array(\"sass\", \"scss\", \"scss.css\", \"sass.css\", \"css\")` |\n| __paths__ | Paths used to locate sass source files (order matters). | `array(\".\")` |\n| __persist__ | If true, will serve compiled css file directly. If source sass file is newer than compiled file, the sass will be re-compiled before being served. | `false` |\n| __public__ | Path used to write compiled css if `persist` option is true. | `getcwd()` |\n| __parser__ | Array of options passed into `Sass\\Parser`. | `array(\"cache\" =\u003e false)` |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fripeworks%2Frackem-sass","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fripeworks%2Frackem-sass","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fripeworks%2Frackem-sass/lists"}