{"id":43125497,"url":"https://github.com/debba/less2scss","last_synced_at":"2026-01-31T20:28:56.478Z","repository":{"id":34330058,"uuid":"177426517","full_name":"debba/less2scss","owner":"debba","description":"Convert less files in scss on the fly.","archived":false,"fork":false,"pushed_at":"2023-05-26T05:10:42.000Z","size":302,"stargazers_count":40,"open_issues_count":6,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-11-02T18:14:23.665Z","etag":null,"topics":["cli","converter","less","node","npm","scss","style"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/debba.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-24T14:33:52.000Z","updated_at":"2025-09-26T07:27:13.000Z","dependencies_parsed_at":"2024-09-18T16:36:42.975Z","dependency_job_id":"d5716b1e-53e5-4080-8015-7ce842e2be46","html_url":"https://github.com/debba/less2scss","commit_stats":{"total_commits":51,"total_committers":8,"mean_commits":6.375,"dds":0.7450980392156863,"last_synced_commit":"a1bdaa07a6360b088c39d7bebba991d8a40d7ff8"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/debba/less2scss","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/debba%2Fless2scss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/debba%2Fless2scss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/debba%2Fless2scss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/debba%2Fless2scss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/debba","download_url":"https://codeload.github.com/debba/less2scss/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/debba%2Fless2scss/sbom","scorecard":{"id":331058,"data":{"date":"2025-08-11","repo":{"name":"github.com/debba/less2scss","commit":"a1bdaa07a6360b088c39d7bebba991d8a40d7ff8"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.5,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":5,"reason":"Found 2/4 approved changesets -- score normalized to 5","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Warn: no topLevel permission defined: .github/workflows/npm-publish.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/debba/less2scss/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/debba/less2scss/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/debba/less2scss/npm-publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/debba/less2scss/npm-publish.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/debba/less2scss/npm-publish.yml/master?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/ci.yml:20","Warn: npmCommand not pinned by hash: .github/workflows/npm-publish.yml:14","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   2 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 28 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":6,"reason":"4 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-18T03:39:07.619Z","repository_id":34330058,"created_at":"2025-08-18T03:39:07.619Z","updated_at":"2025-08-18T03:39:07.619Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28953487,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T18:30:42.805Z","status":"ssl_error","status_checked_at":"2026-01-31T18:30:19.593Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cli","converter","less","node","npm","scss","style"],"created_at":"2026-01-31T20:28:55.904Z","updated_at":"2026-01-31T20:28:56.470Z","avatar_url":"https://github.com/debba.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![NPM](https://nodei.co/npm/less2scss.png)](https://nodei.co/npm/less2scss.png/)\n[![npm version](https://badge.fury.io/js/less2scss.svg)](https://badge.fury.io/js/less2scss)\n\nless2scss\n-------------------\n\nThis npm package will convert all your less files to scss.\n\nYou can provide an entire folder, this package will scan all less files whose find in subfolders and it'll create SCSS files in the same folder or in the new directory provided recreating the source hierarchy. \n\nInstall\n-------------\n\nInstall it via npm:\n\n```bash\n$ npm install less2scss --global\n```\nUsage\n------\n`less2scss` offers a single command line interface:\n\n```bash\n$ less2scss\n```\n\nWill print an help:\n\n```\nUsage: less2scss [options]\n\nThis utility quickly converts all your less files to scss.\n\nOptions:\n-V, --version                 output the version number\n-s, --src \u003csourcePaths\u003e       comma separated source paths\n-d, --dst \u003cdstPath\u003e           destination path\n-e, --exclude \u003cexcludePaths\u003e  comma separated exclude paths\n-r, --recursive               allow to recursively walk directories (default: false)\n-h, --help                    display help for command\n```\n\nOptions\n--------\nYou can pass the following options via CLI arguments.\n\n| Description                                                                                                                             | Short command | Full command       | Mandatory | Default value |\n| --------------------------------------------------------------------------------------------------------------------------------------- | ------------- | ------------------ | ------------------ | ------------------ |\n| Comma separated LESS files and paths                                                                                                    | `-s`          | `--src`            | Yes | - |\n| Destination path for converted SCSS files (if provided). If not provided, it will be the same directory                                                          | `-d`          | `--dst` | No |   Same directory of files provided      |\n| Comma separated exclude paths                                                        | `-e`          | `--exclude`            | No | - |\n| Allow to recursively walk directories                                                          | `-r`          | `--recursive`            | No | false |\n\n**Note:**\n\nFor excluding files and path we use [ignore](https://www.npmjs.com/package/ignore) package.\n\n_`ignore` is a manager, filter and parser which implemented in pure JavaScript according to the .gitignore spec 2.22.1.\n\n**All paths provided must be relative to the source path**\n\nExamples\n--------\n\n#### Convert LESS files inside a folder excluding `node_modules` and `vendor` subfolders.\n\n```bash\n$ less2scss -s ./less_folder  -d ./scss_folder -r -e 'node_modules,vendor'\n```\n\n#### Convert LESS files inside a folder excluding all subfolders whose name begins with `test`.\n\n```bash\n$ less2scss -s ./less_folder  -d ./scss_folder -r -e 'node_modules,vendor'\n```\n\nNotice\n--------\nBe careful, something may not be converted properly.\n\nIt's an automatic conversion tool, you can fix errors manually later.\n\nCredits\n--------\n\nSome convertion rules are inspired by:\n\n- [Gulp Less to Scss](https://github.com/steelydylan/gulp-less-to-scss]) by steelydylan .\n- [Less Scss Convertor](https://github.com/tarun29061990/less-scss-convertor) by \ntarun29061990 .\n\nContributing\n--------\nIf you have suggestions for enhancements or ideas for new features that could be useful, please open a pull request or open an issue.\n\nLicense\n--------\nless2scss is licensed under : The Apache Software License, Version 2.0. You can find a copy of the license (http://www.apache.org/licenses/LICENSE-2.0.txt)\n\nEnjoy ;)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdebba%2Fless2scss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdebba%2Fless2scss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdebba%2Fless2scss/lists"}