{"id":15011356,"url":"https://github.com/jaywcjlove/compile-less","last_synced_at":"2025-04-09T19:09:37.872Z","repository":{"id":34441175,"uuid":"179026689","full_name":"jaywcjlove/compile-less","owner":"jaywcjlove","description":"All `.less` files are compiled into `.css` files.","archived":false,"fork":false,"pushed_at":"2025-04-05T16:37:18.000Z","size":378,"stargazers_count":6,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-09T19:09:28.302Z","etag":null,"topics":["cli","css","javascript","less","lesscss","style"],"latest_commit_sha":null,"homepage":"https://jaywcjlove.github.io/compile-less","language":"TypeScript","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/jaywcjlove.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"custom":"https://jaywcjlove.github.io/#/sponsor"}},"created_at":"2019-04-02T07:51:46.000Z","updated_at":"2024-06-26T02:52:34.000Z","dependencies_parsed_at":"2023-01-15T07:15:30.189Z","dependency_job_id":"4911bfd1-ebea-497a-9290-d4dfde1abed4","html_url":"https://github.com/jaywcjlove/compile-less","commit_stats":{"total_commits":142,"total_committers":4,"mean_commits":35.5,"dds":"0.18309859154929575","last_synced_commit":"5ee51af1fbd95c0e0dcd2ee28f36b5e6c8257a2d"},"previous_names":[],"tags_count":29,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaywcjlove%2Fcompile-less","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaywcjlove%2Fcompile-less/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaywcjlove%2Fcompile-less/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaywcjlove%2Fcompile-less/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jaywcjlove","download_url":"https://codeload.github.com/jaywcjlove/compile-less/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248094993,"owners_count":21046770,"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":["cli","css","javascript","less","lesscss","style"],"created_at":"2024-09-24T19:40:48.115Z","updated_at":"2025-04-09T19:09:37.852Z","avatar_url":"https://github.com/jaywcjlove.png","language":"TypeScript","funding_links":["https://jaywcjlove.github.io/#/sponsor"],"categories":[],"sub_categories":[],"readme":"compile-less\n===\n\n[![Buy me a coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee)](https://jaywcjlove.github.io/#/sponsor)\n[![CI](https://github.com/jaywcjlove/compile-less/actions/workflows/ci.yml/badge.svg)](https://github.com/jaywcjlove/compile-less/actions/workflows/ci.yml)\n[![npm download](https://img.shields.io/npm/dm/compile-less-cli.svg?style=flat)](https://www.npmjs.com/package/compile-less-cli)\n[![releases version](https://img.shields.io/github/release/jaywcjlove/compile-less)](https://github.com/jaywcjlove/compile-less/releases)\n[![npm version](https://img.shields.io/npm/v/compile-less-cli.svg)](https://www.npmjs.com/package/compile-less-cli)\n[![Coverage Status](https://jaywcjlove.github.io/compile-less/badges.svg)](https://jaywcjlove.github.io/compile-less/lcov-report/)\n\nAll `.less` files are compiled into `.css` files.\n\n## Install\n\n```bash\nnpm i compile-less-cli --save-dev\n```\n\n## Basic Usage\n\n```js\nconst compileLess = require('compile-less-cli');\n\ncompileLess('src', {\n  out: 'out',              // Output directory.\n  combine: 'dist/uiw.css', // Combine CSS files.\n});\n```\n\n## Command Line\n\nCommand help: \n\n```bash\nUsage: compile-less \u003ccommand\u003e [options]\n\nAll .less files are output to a .css file.\n\nOptions:\n  -v, --version              output the version number\n  -d, --dir \u003cdir-path\u003e       Less file directory (default: \"src\")\n  -o, --out \u003cdir-path\u003e       Output directory.\n  -c, --combine \u003cfile-name\u003e  Combine CSS files.\n  -w, --watch                Watch and compile CSS files.\n  --exclude-css              Exclude CSS file compilation.\n  -r, --rm-global            Remove \":global\" and \":global(className)\".\n  -h, --help                 display help for command\n\nExamples:\n\n  $ compile-less -d src -o css\n  $ compile-less -d src -o css --watch\n  $ compile-less -d src -o css --watch --exclude-css\n  $ compile-less -d src -o out --combine out/dist.css\n```\n\n## Development\n\nListen for files compiled with TypeScript\n\n```bash\nnpm run start\nnpm run build\n```\n\n```bash\ncd test\ncompile-less -d src -o out\n```\n\n\n## License\n\nLicensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaywcjlove%2Fcompile-less","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaywcjlove%2Fcompile-less","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaywcjlove%2Fcompile-less/lists"}