{"id":15412430,"url":"https://github.com/robertknight/sass-unused","last_synced_at":"2025-04-19T06:39:40.995Z","repository":{"id":9869910,"uuid":"63607036","full_name":"robertknight/sass-unused","owner":"robertknight","description":"Utility for finding unused variables in a collection of SASS files","archived":false,"fork":false,"pushed_at":"2022-12-30T20:29:53.000Z","size":220,"stargazers_count":13,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-29T06:51:17.416Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robertknight.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2016-07-18T13:51:43.000Z","updated_at":"2025-03-24T05:17:45.000Z","dependencies_parsed_at":"2023-01-11T17:43:06.996Z","dependency_job_id":null,"html_url":"https://github.com/robertknight/sass-unused","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/robertknight%2Fsass-unused","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertknight%2Fsass-unused/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertknight%2Fsass-unused/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertknight%2Fsass-unused/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robertknight","download_url":"https://codeload.github.com/robertknight/sass-unused/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249630211,"owners_count":21303008,"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-01T16:53:01.619Z","updated_at":"2025-04-19T06:39:40.974Z","avatar_url":"https://github.com/robertknight.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"sass-unused\n===========\n\n[![Build Status](https://travis-ci.org/robertknight/sass-unused.png?branch=master)](https://travis-ci.org/robertknight/sass-unused)\n\nA utility for finding unused variables, mixins and functions in a collection of\nSASS files.\n\n## Usage\n\n### Command Line\n\n```sh\nnpm install -g sass-unused\nsass-unused 'src/**/*.scss'\n```\n\nThis will parse all SASS files in 'src' and print a list of identifiers of\nvariables, functions and mixins which are declared but not referenced\nelsewhere.\n\n### Library\n\n```js\nvar { findUnused } = require('sass-unused')\n\n// \"unused\" is an object with keys for different types of SASS item\n// (variable, mixin, function etc.) listing unused items of that type.\nconst unused = findUnused('src/**/*.scss');\nconsole.log('unused items', unused);\n```\n\n## Caveats\n\nThis tool is quite dumb in that it assumes that all variables, functions and mixins\nlive in the same namespace and can be identified uniquely via their\nidentifiers. As a result, this tool may fail to report some unused identifiers.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertknight%2Fsass-unused","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobertknight%2Fsass-unused","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertknight%2Fsass-unused/lists"}