{"id":21570347,"url":"https://github.com/chowa/cwfont","last_synced_at":"2025-08-18T04:09:07.200Z","repository":{"id":45171800,"uuid":"232370945","full_name":"chowa/cwfont","owner":"chowa","description":"Vector font generation tool(svg files convert to iconfont)","archived":false,"fork":false,"pushed_at":"2023-02-04T15:30:01.000Z","size":767,"stargazers_count":5,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-09T04:18:48.105Z","etag":null,"topics":["eot","iconfont","iconfont-build","iconfont-cli","iconfonts","svg","ttf","typescript","woff","woff2"],"latest_commit_sha":null,"homepage":"","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/chowa.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":"2020-01-07T16:48:32.000Z","updated_at":"2024-05-24T08:25:02.000Z","dependencies_parsed_at":"2024-11-24T11:12:28.214Z","dependency_job_id":"e158f6a1-071f-4ee1-9ce7-f5fcc4610d9a","html_url":"https://github.com/chowa/cwfont","commit_stats":{"total_commits":41,"total_committers":2,"mean_commits":20.5,"dds":0.04878048780487809,"last_synced_commit":"af2f3e5bcd4641739e54c4d57c6b1ab8be4fbf9b"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chowa/cwfont","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chowa%2Fcwfont","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chowa%2Fcwfont/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chowa%2Fcwfont/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chowa%2Fcwfont/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chowa","download_url":"https://codeload.github.com/chowa/cwfont/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chowa%2Fcwfont/sbom","scorecard":{"id":278906,"data":{"date":"2025-08-11","repo":{"name":"github.com/chowa/cwfont","commit":"af2f3e5bcd4641739e54c4d57c6b1ab8be4fbf9b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":-1,"reason":"No tokens found","details":null,"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":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","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":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: 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":"Vulnerabilities","score":0,"reason":"17 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-crh6-fp67-6883","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-4gmj-3p3h-gm8h","Warn: Project is vulnerable to: GHSA-rc47-6667-2j5j","Warn: Project is vulnerable to: GHSA-78xj-cgh5-2h22","Warn: Project is vulnerable to: GHSA-2p57-rm9w-gvfp","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7"],"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-17T15:13:10.063Z","repository_id":45171800,"created_at":"2025-08-17T15:13:10.064Z","updated_at":"2025-08-17T15:13:10.064Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270940926,"owners_count":24671739,"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","status":"online","status_checked_at":"2025-08-18T02:00:08.743Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["eot","iconfont","iconfont-build","iconfont-cli","iconfonts","svg","ttf","typescript","woff","woff2"],"created_at":"2024-11-24T11:12:22.470Z","updated_at":"2025-08-18T04:09:07.176Z","avatar_url":"https://github.com/chowa.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"http://upload.ouliu.net/i/202001081600304i7x6.png\" width=\"240\"\u003e\n\u003c/p\u003e\n\n\n# cwfont\n\nVector font generation tool(svg files convert to iconfont)\n\n[![Build Status](https://travis-ci.org/chowa/cwfont.svg?branch=master)](https://travis-ci.org/chowa/cwfont)\n[![npm](https://img.shields.io/npm/v/cwfont.svg)](https://www.npmjs.com/package/cwfont)\n[![npm](https://img.shields.io/npm/dm/cwfont.svg)](https://www.npmjs.com/package/cwfont)\n[![license](https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592000)](https://opensource.org/licenses/MIT)\n\n## Install\n\n```\nnpm i cwfont -g\n```\n\n## Cli Usage\n\n### Create\n\n```\ncwfont create \u003cdir\u003e\n```\n\n### Compile\n\n```\ncwfont compile\n```\n\nModify `.cwfontrc`，Customize the configuration input and output directories, enable hash and exempt CSS modules, and view the specific configuration [options](#options). (You can use js/json/yaml/yml to write it)\n\n### Preview\n\n```\ncwfont preview\n```\n\n## API\n\n```js\nconst ChowaFont = require('cwfont');\n```\n\n### Generate font\n\n```js\nChowaFont.generator({\n    // executive directory\n    cwd: 'xxx',\n    ...options\n});\n```\n\n## Options\n\n```js\n{\n    // compile options\n    compile: {\n        // compile syntax, optional CSS | SCSS | less\n        syntax: 'css',\n        // start value corresponding to font Unicode\n        startPoint: 51666,\n        // font name\n        fontName: 'chowa-iconfont',\n        // font file name\n        styleFileName: 'chowa-iconfont',\n        // font selector, {glyph}} must be preceded by a separator, such as: -\n        selector: '.cw-icon-{{glyph}}'\n    },\n    // exempt CSS module\n    global: false,\n    // using stylelint to format output code\n    stylelint?: boolean;\n    // has options\n    hash: {\n        // font file with hash\n        font: false,\n        // style file with hash\n        style: false,\n        // length of hash\n        len: 8\n    },\n    // create preview file\n    preview: true,\n    // format specific configuration view https://prettier.io/docs/en/options.html\n    format: {\n        printWidth: 120,\n        tabWidth: 4,\n        useTabs: false,\n        semi: true,\n        endOfLine: 'lf'\n    },\n    // input options\n    input: {\n        // svg file directory\n        svgsDir: './svg-icons',\n        // style file template\n        styleTpl: null,\n        // preview file template\n        previewTpl: null\n    },\n    // output options\n    output: {\n        // font file saving directory\n        font: './',\n        // style file saving directory\n        style: './',\n        // preview file saving directory\n        preview: './'\n    }\n}\n```\n\n## Customize template\n\n* [style template](src/template/style.tpl)\n* [preview template](src/template/preview.tpl)\n\n## Attention\n\n* Svg file names should be free of spaces and special symbols\n* The 'selector' option '{{glyph}}' in the configuration file must be preceded by a separator\n* Drawing SVG graph with single path\n\n## License\n\n[MIT](http://opensource.org/licenses/MIT)\n\nCopyright (c) 2020-present, chowa.cn\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchowa%2Fcwfont","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchowa%2Fcwfont","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchowa%2Fcwfont/lists"}