{"id":18137927,"url":"https://github.com/shaobeichen/cssoo","last_synced_at":"2025-06-23T01:06:13.747Z","repository":{"id":204826447,"uuid":"712754789","full_name":"shaobeichen/cssoo","owner":"shaobeichen","description":"🧩 输入参数生成CSS代码片段，包括 优惠券、三角形、单行省略、多行省略等","archived":false,"fork":false,"pushed_at":"2024-10-28T07:31:35.000Z","size":205,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-20T17:48:22.902Z","etag":null,"topics":["bin","cli","css","cssoo","node","shaoo","snipaste"],"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/shaobeichen.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-11-01T05:49:55.000Z","updated_at":"2025-04-27T12:17:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"fbc11c84-db46-4bcf-901c-74af2531fec6","html_url":"https://github.com/shaobeichen/cssoo","commit_stats":null,"previous_names":["shaobeichen/csoo","shaobeichen/cssoo"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/shaobeichen/cssoo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaobeichen%2Fcssoo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaobeichen%2Fcssoo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaobeichen%2Fcssoo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaobeichen%2Fcssoo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shaobeichen","download_url":"https://codeload.github.com/shaobeichen/cssoo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaobeichen%2Fcssoo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261392164,"owners_count":23151716,"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":["bin","cli","css","cssoo","node","shaoo","snipaste"],"created_at":"2024-11-01T15:07:42.364Z","updated_at":"2025-06-23T01:06:08.710Z","avatar_url":"https://github.com/shaobeichen.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cssoo\n\n\u003ca href=\"\" target=\"__blank\"\u003e\u003cimg src=\"https://img.shields.io/node/v/%40shaoo%2Fcssoo?style=for-the-badge\" alt=\"\"\u003e\u003c/a\u003e\n\u003ca href=\"https://www.npmjs.com/package/@shaoo/cssoo\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/%40shaoo%2Fcssoo?style=for-the-badge\" alt=\"\"\u003e\u003c/a\u003e\n\u003ca href=\"https://www.npmjs.com/package/@shaoo/cssoo\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/npm/dm/%40shaoo/cssoo?style=for-the-badge\" alt=\"\"\u003e\u003c/a\u003e\n\u003ca href=\"\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/npm/l/%40shaoo%2Fcssoo?style=for-the-badge\" alt=\"\"\u003e\u003c/a\u003e\n\n\u003e 根据输入的参数生成常用的 CSS 代码片段，包括 优惠券、三角形、单行省略、多行省略等\n\n## 预览\n\n\u003cimg src=\"./docs/preview.png\" width=\"400\"\u003e\n\n## 使用\n\n```shell\nnpx @shaoo/cssoo\n```\n\n## 注意\n\n如果 cssoo 升级了版本，但使用 npx 命令安装的版本还是旧版本，需要先清除 npx 缓存\n\n```shell\nnpx clear-npx-cache\n```\n\n## 已支持片段\n\n- 优惠券\n- 三角形\n- 单行溢出省略号\n- 多行溢出省略号\n- 修改滚动条样式\n\n## 待支持片段\n\n- 0.5px 边框 上下 左右 全部\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshaobeichen%2Fcssoo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshaobeichen%2Fcssoo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshaobeichen%2Fcssoo/lists"}