{"id":25376788,"url":"https://github.com/terrierscript/json-sass-obj","last_synced_at":"2025-04-09T10:33:41.683Z","repository":{"id":35749864,"uuid":"40029020","full_name":"terrierscript/json-sass-obj","owner":"terrierscript","description":"Object mode wrapper for jsonSass","archived":false,"fork":false,"pushed_at":"2015-08-03T00:44:57.000Z","size":148,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T09:04:14.495Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/terrierscript.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-31T23:40:20.000Z","updated_at":"2015-08-02T10:14:58.000Z","dependencies_parsed_at":"2022-09-19T23:22:10.097Z","dependency_job_id":null,"html_url":"https://github.com/terrierscript/json-sass-obj","commit_stats":null,"previous_names":["inuscript/json-sass-obj"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terrierscript%2Fjson-sass-obj","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terrierscript%2Fjson-sass-obj/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terrierscript%2Fjson-sass-obj/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terrierscript%2Fjson-sass-obj/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/terrierscript","download_url":"https://codeload.github.com/terrierscript/json-sass-obj/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248008630,"owners_count":21032556,"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":"2025-02-15T04:39:19.034Z","updated_at":"2025-04-09T10:33:41.661Z","avatar_url":"https://github.com/terrierscript.png","language":"JavaScript","readme":"# json-sass-obj\n\nObject mode wrapper for [jsonSass](https://github.com/acdlite/json-sass)\n\n## Usage Example\n\n```js\nvar File = require(\"vinyl\")\nvar jsonSassObj = require(\"json-sass-obj\")\n\nvar fakeFile = new File({\n  path: \"path/to/some.json\",\n  contents: new Buffer(JSON.stringify({\n    \"foo\" : \"baz\",\n    \"bee\" : [1,2,3]\n  }))\n})\nvar stream = jsonSassObj({\n  prefix: \"$someItem: \",\n  suffix: \" !default;\"\n})\nstream.write(fakeFile)\nstream.once('data', function(file){\n  var scss = file.contents.toString()\n  // scss\n  //\n  // $someItem: (\n  //  foo: baz,\n  //  bee: (1, 2, 3)\n  // ) !default\n\n  // file.path === \"path/to/some.scss\"\n\n})\n\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterrierscript%2Fjson-sass-obj","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fterrierscript%2Fjson-sass-obj","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterrierscript%2Fjson-sass-obj/lists"}