{"id":15619464,"url":"https://github.com/snugug/compass-options","last_synced_at":"2025-04-28T13:26:02.197Z","repository":{"id":15823036,"uuid":"18562814","full_name":"Snugug/Compass-Options","owner":"Snugug","description":"A small Node module for parsing Compass's config.rb file into options for use in Node projects (especially Grunt/Gulp/etc…)","archived":false,"fork":false,"pushed_at":"2014-04-08T20:27:13.000Z","size":144,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-05T09:03:31.445Z","etag":null,"topics":[],"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/Snugug.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":"2014-04-08T15:04:31.000Z","updated_at":"2015-11-02T17:28:05.000Z","dependencies_parsed_at":"2022-09-02T14:00:54.356Z","dependency_job_id":null,"html_url":"https://github.com/Snugug/Compass-Options","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/Snugug%2FCompass-Options","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Snugug%2FCompass-Options/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Snugug%2FCompass-Options/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Snugug%2FCompass-Options/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Snugug","download_url":"https://codeload.github.com/Snugug/Compass-Options/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242487509,"owners_count":20136651,"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-10-03T08:20:34.821Z","updated_at":"2025-03-08T01:31:45.203Z","avatar_url":"https://github.com/Snugug.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Compass-Options\n===============\n\nA small Node module for parsing Compass's config.rb file into options for use in Node projects (especially Grunt/Gulp/etc…)\n\n## Installation\n\n```\n$ npm install compass-options --save-dev\n```\n\n## Usage\n\nConfigure your [Compass `config.rb`](http://compass-style.org/help/tutorials/configuration-reference/) file as normal. Currently reads in the following settings with the following defaults:\n\n* `http_path` - `'.'`\n* `css_dir` - `'css'`\n* `sass_dir` - `'sass'`\n* `images_dir` - `'images'`\n* `javascripts_dir` - `'js'`\n* `fonts_dir` - `'fonts'`\n\n\n\n```js\n//////////////////////////////\n// Get directories from Compass settings\n////////////////////////////// \nvar dirs = require('compass-options').dirs({\n  'config': './config.rb', // Points to config.rb relative to this file. Defaults to './config.rb'\n  'trailing': false //  Whether or not to include a trailing slash for directories\n});\n\n//////////////////////////////\n// Get full paths from Compass settings (http_path + directory)\n//////////////////////////////\nvar paths = require('compass-options').paths({\n  'config': './config.rb', // Points to config.rb relative to this file. Defaults to './config.rb'\n  'trailing': false //  Whether or not to include a trailing slash for paths\n});\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnugug%2Fcompass-options","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnugug%2Fcompass-options","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnugug%2Fcompass-options/lists"}