{"id":20226149,"url":"https://github.com/steamerjs/steamer-plugin","last_synced_at":"2026-06-08T19:30:58.334Z","repository":{"id":57370586,"uuid":"100855576","full_name":"steamerjs/steamer-plugin","owner":"steamerjs","description":null,"archived":false,"fork":false,"pushed_at":"2018-05-05T01:35:37.000Z","size":131,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-09-26T16:58:04.541Z","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/steamerjs.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":"2017-08-20T10:59:57.000Z","updated_at":"2018-05-05T01:34:50.000Z","dependencies_parsed_at":"2022-08-29T18:30:57.763Z","dependency_job_id":null,"html_url":"https://github.com/steamerjs/steamer-plugin","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/steamerjs/steamer-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steamerjs%2Fsteamer-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steamerjs%2Fsteamer-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steamerjs%2Fsteamer-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steamerjs%2Fsteamer-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/steamerjs","download_url":"https://codeload.github.com/steamerjs/steamer-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steamerjs%2Fsteamer-plugin/sbom","scorecard":{"id":850036,"data":{"date":"2025-08-11","repo":{"name":"github.com/steamerjs/steamer-plugin","commit":"7095833abd99d7052b8905dfcb5191dc4201ff67"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.3,"checks":[{"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":"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":"Code-Review","score":0,"reason":"Found 0/22 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":"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":"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":"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":"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":"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":"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":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"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":"51 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-6chw-6frg-f759","Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-pp7h-53gx-mx7r","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-rq8g-5pc5-wrhr","Warn: Project is vulnerable to: GHSA-qrmc-fj45-qfc2","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-4q6p-r6v2-jvc5","Warn: Project is vulnerable to: GHSA-q42p-pg8m-cqh6","Warn: Project is vulnerable to: GHSA-w457-6q6x-cgp9","Warn: Project is vulnerable to: GHSA-62gr-4qp9-h98f","Warn: Project is vulnerable to: GHSA-f52g-6jhx-586p","Warn: Project is vulnerable to: GHSA-2cf5-4w76-r9qv","Warn: Project is vulnerable to: GHSA-3cqr-58rm-57f8","Warn: Project is vulnerable to: GHSA-g9r4-xpmj-mj65","Warn: Project is vulnerable to: GHSA-q2c6-c6pm-g3gh","Warn: Project is vulnerable to: GHSA-765h-qjxv-5f44","Warn: Project is vulnerable to: GHSA-f2jv-r9rf-7988","Warn: Project is vulnerable to: GHSA-jcpv-g9rr-qxrc","Warn: Project is vulnerable to: GHSA-44pw-h2cw-w3vq","Warn: Project is vulnerable to: GHSA-jp4x-w63m-7wgm","Warn: Project is vulnerable to: GHSA-c429-5p7v-vgjp","Warn: Project is vulnerable to: GHSA-qqgx-2p2h-9c37","Warn: Project is vulnerable to: GHSA-2pr6-76vf-7546","Warn: Project is vulnerable to: GHSA-8j8c-7jfh-h6hx","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-675m-85rw-j3w4","Warn: Project is vulnerable to: GHSA-4xc9-xhrj-v574","Warn: Project is vulnerable to: GHSA-x5rq-j2xg-h7qm","Warn: Project is vulnerable to: GHSA-jf85-cpcp-j695","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-wrvr-8mpx-r7pp","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-g6ww-v8xp-vmwg","Warn: Project is vulnerable to: GHSA-gqgv-6jq5-jjj9","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-7xfp-9c55-5vqj","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-mf6x-7mm4-x2g7","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-xc7v-wxcw-j472"],"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-23T22:15:18.566Z","repository_id":57370586,"created_at":"2025-08-23T22:15:18.566Z","updated_at":"2025-08-23T22:15:18.566Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34078019,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"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":[],"created_at":"2024-11-14T07:16:31.163Z","updated_at":"2026-06-08T19:30:58.313Z","avatar_url":"https://github.com/steamerjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## steamer-plugin\n\n[![NPM Version](https://img.shields.io/npm/v/steamer-plugin.svg?style=flat)](https://www.npmjs.com/package/steamer-plugin)\n[![Travis](https://img.shields.io/travis/steamerjs/steamer-plugin.svg)](https://travis-ci.org/steamerjs/steamer-plugin)\n[![Deps](https://img.shields.io/david/steamerjs/steamer-plugin.svg)](https://david-dm.org/steamerjs/steamer-plugin)\n[![Coverage](https://img.shields.io/coveralls/steamerjs/steamer-plugin.svg)](https://coveralls.io/github/steamerjs/steamer-plugin)\n\n快速开发 [steamerjs](https://github.com/steamerjs/steamerjs) 插件的类，继承即可。\n如何开发 steamerjs 插件，请参考 [steamer-plugin-example](https://github.com/steamerjs/steamer-plugin-example)\n\n### 接口\n\n#### 属性\n\n* pluginName\n    - `String`\n    - required\n    - 默认值: \"\"\n    - 注册 `plugin` 名\n\n#### 基础方法\n\n* fs\n    - `Function`\n    - [fs-extra](https://www.npmjs.com/package/fs-extra)\n\n* chalk\n    - `Function`\n    - [chalk](https://www.npmjs.com/package/chalk)\n\n* _\n    - `Object`\n    - [lodash](https://www.npmjs.com/package/lodash)\n\n#### 获取路径\n\n* getGlobalModules\n    - `Function`\n    - 获取全局 node_modules 路径\n\n* getGlobalHome\n    -  `Function`\n    - 获取全局 home 目录\n\n#### 配置方法\n\n* createConfig\n    - `Function`\n    - 创建 `steamer` 插件配置\n    - 参数\n        - `config`,  配置 object, 默认值为: {}\n        - `options`, 参数对象\n            - `option.folder`, `String`, .steamer 的父目录，\n            - `option.filename`, `String` 具体的文件名\n            - `option.extension`, `String` 默认值：js\n            - `option.overwrite`, `Boolean` 是否覆盖已经存在的配置文件\n            - `option.isGlobal`, `Boolean` 是否全局\n\n* readConfig\n    - `Function`\n    - 读取 `steamer` 插件配置\n    - 参数\n        - `options`, 参数对象\n            - `option.folder`, `String`, .steamer 的父目录，\n            - `option.filename`, `String` 具体的文件名\n            - `option.extension`, `String` 默认值：js\n            - `option.isGlobal`, `Boolean` 是否全局\n\n* createSteamerConfig\n    - `Function`\n    - 创建 `steamerjs` 配置\n    - 参数\n        - `config`,  配置 object, 默认值为: {}\n        - `options`, 参数对象\n            - `option.folder`, `String`, .steamer 的父目录，\n            - `option.overwrite`, `Boolean` 是否覆盖已经存在的配置文件\n            - `option.isGlobal`, `Boolean` 是否全局\n\n* readSteamerDefaultConfig\n    - `Function`\n    - 读取 `steamerjs` 配置与默认配置的并集\n    - 默认值\n    ```javascript\n    NPM: 'npm',\n    PLUGIN_PREFIX: 'steamer-plugin-',\n    KIT_PREFIX: 'steamer-kit-',\n    TEAM_PREFIX: 'steamer-team-'\n    ```\n\n* readSteamerConfig\n    - `Function`\n    - 读取 `steamerjs` 配置\n    - 参数\n        - `options`, 参数对象\n            - `option.isGlobal`, `Boolean` 是否全局\n\n#### 命令输出\n\n* log\n    - `Function`\n    - 输出文本\n    - 参数\n        - `str`, 文本\n        - `color`, 颜色, 默认 `white`\n\n* error\n    - `Function`\n    - 输出报错\n    - 参数\n        - `str`, 文本\n\n* info\n    - `Function`\n    - 输出信息\n    - 参数\n        - `str`, 文本\n\n* warn\n    - `Function`\n    - 输出警告\n    - 参数\n        - `str`, 文本\n\n* success\n    - `Function`\n    - 输出成本信息\n    - 参数\n        - `str`, 文本\n\n* printTitle\n    - `Function`\n    - 输出标题\n    - 参数\n        - `str`, 文本\n        - `color`, 颜色, 默认 `white`\n\n```javascript\n// 例子\n================================ Command Usage ================================\n```\n\n* printEnd\n    - `Function`\n    - 输出末尾\n    - 参数\n        - `str`, 文本\n        - `color`, 颜色, 默认 `white`\n\n```javascript\n// 例子\n================================================================================\n```\n\n* printUsage\n    - `Function`\n    - 输出命令使用方法\n    - 参数\n        - `description`, 命令描述\n        - `cmd`, 命令名称\n\n```javascript\n// 例子\nusage:\nsteamer doctor    help you check steamer running environment!!!\n```\n\n* printOption\n    - `Function`\n    - 输出命令参数\n    - 参数\n        - `options`, 参数数组\n            - `option.option`, 参数名\n            - `option.alias`, 参数别名\n            - `option.value`, 参数值\n\n```javascript\n// 例子\noptions:\n    --help, -h                    123\n    --ak, -a                      456\n    --plugin, -p \u003cplugin name\u003e    789\n    --help                        123\n```\n\n### 开发及测试\n\n```javascript\n// 用于全局进行代码清理\nnpm i -g eslint\nnpm run lint\n\n// 用于测试\nnpm test\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteamerjs%2Fsteamer-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsteamerjs%2Fsteamer-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteamerjs%2Fsteamer-plugin/lists"}