{"id":18484155,"url":"https://github.com/jdf2e/jdd","last_synced_at":"2026-01-24T02:36:04.393Z","repository":{"id":57279923,"uuid":"98877903","full_name":"jdf2e/jdd","owner":"jdf2e","description":"jdf组件文档生成工具","archived":false,"fork":false,"pushed_at":"2017-08-14T10:28:12.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-10-02T17:37:12.173Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/jdf2e.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}},"created_at":"2017-07-31T10:38:47.000Z","updated_at":"2017-07-31T10:39:04.000Z","dependencies_parsed_at":"2022-09-18T08:42:19.050Z","dependency_job_id":null,"html_url":"https://github.com/jdf2e/jdd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jdf2e/jdd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdf2e%2Fjdd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdf2e%2Fjdd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdf2e%2Fjdd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdf2e%2Fjdd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jdf2e","download_url":"https://codeload.github.com/jdf2e/jdd/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdf2e%2Fjdd/sbom","scorecard":{"id":512483,"data":{"date":"2025-08-11","repo":{"name":"github.com/jdf2e/jdd","commit":"0e5f80ff118b51eef6094f7f1e612b9aaba752d6"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"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":"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":"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":"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":"Code-Review","score":0,"reason":"Found 0/4 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":"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":"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":"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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"}}]},"last_synced_at":"2025-08-20T00:57:10.010Z","repository_id":57279923,"created_at":"2025-08-20T00:57:10.010Z","updated_at":"2025-08-20T00:57:10.010Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28707939,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T23:51:44.727Z","status":"online","status_checked_at":"2026-01-24T02:00:06.909Z","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":[],"created_at":"2024-11-06T12:38:45.225Z","updated_at":"2026-01-24T02:36:04.371Z","avatar_url":"https://github.com/jdf2e.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jdd\r\n\r\njs文档，demo和说明文档快速生成\r\n\r\n## 安装\r\n\r\n```javascript\r\nnpm install jddx -g\r\n```\r\n\r\n## 使用\r\n\r\n```javascript\r\n Command:\r\n\r\n    -b,--build  \tbuild project\r\n    -w,--watch  \twatch current , build project\r\n    -v      \tjdd version\r\n```\r\n\r\n## 目录结构\r\n\r\n```\r\ndemo/ demo文件目录\r\njs/ js文件目录\r\ndoc/ 说明文件目录\r\nchangelog.md\r\nreadme.md\r\npackage.json\r\n```\r\n\r\n## 配置详解\r\n\r\n```json\r\n{\r\n\t\"name\": \"myjs\",  //工程名\r\n\t\"version\": \"1.0.0\", //版本号\r\n\t\"author\": \"fe\", //作者\r\n\t\"api\": {\r\n\t\t\"name\": \"jds api\", //js api工程名,会显示api首页\r\n\t\t\"description\": \"\" //js api工程描述,同样会显示在api首页\r\n\t},\r\n\t\"apisource\":\"js/\", //js目录\r\n\t\"demosource\":\"demo/\", //demo目录\r\n\t\"demoExclude\":\"demoExcludeDir\", //demo目录过滤\r\n\t\"docsource\":\"doc/\", //说明文档目录\r\n\t\"target\":\"docs/\", //生成到目录\r\n\t\"demopathprefix\":\"../\", //demo页导航url前缀\r\n\t\"stat\":\"\" //统计代码\r\n\t\"extendHtml\":\"\",//在页面最底部增加额外的html片断\r\n\t\"copyright\":\"\",//底部版权信息\r\n\t\"extendMenu\":{\r\n\t\t\"http://a.com\":\"这是站点a\", //导航上增加额外的链接\r\n\t\t\"http://b.com\":\"这是站点b\"\r\n\t}\r\n}\r\n```\r\n\r\n## 建议package.json源文件\r\n\r\n可直接复制后生成package.json\r\n```json\r\n{\r\n\t\"name\": \"myjs\",\r\n\t\"version\": \"1.0.0\",\r\n\t\"author\": \"fe\",\r\n\t\"api\": {\r\n\t\t\"name\": \"jds api\",\r\n\t\t\"description\": \"\"\r\n\t},\r\n\t\"apisource\":\"js/\",\r\n\t\"demosource\":\"demo/\",\r\n\t\"docsource\":\"doc/\",\r\n\t\"target\":\"docs/\",\r\n\t\"demopathprefix\":\"../\",\r\n\t\"copyright\":\"Copyright © 2015 xxx All Rights Reserved\"\r\n}\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdf2e%2Fjdd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjdf2e%2Fjdd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdf2e%2Fjdd/lists"}