{"id":27154960,"url":"https://github.com/coajs/coa-ali-ots","last_synced_at":"2025-08-28T17:10:51.687Z","repository":{"id":38735190,"uuid":"360833733","full_name":"coajs/coa-ali-ots","owner":"coajs","description":"轻量的阿里云TableStore封装 for Node.js","archived":false,"fork":false,"pushed_at":"2023-08-15T22:03:28.000Z","size":145,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-23T12:13:41.497Z","etag":null,"topics":["ali","ali-ots","coa","coa-ali-ots","coajs","ots"],"latest_commit_sha":null,"homepage":"https://npmjs.com/coa-ali-ots","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/coajs.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,"zenodo":null}},"created_at":"2021-04-23T09:36:05.000Z","updated_at":"2021-09-26T10:32:50.000Z","dependencies_parsed_at":"2025-06-20T22:41:30.980Z","dependency_job_id":null,"html_url":"https://github.com/coajs/coa-ali-ots","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/coajs/coa-ali-ots","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coajs%2Fcoa-ali-ots","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coajs%2Fcoa-ali-ots/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coajs%2Fcoa-ali-ots/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coajs%2Fcoa-ali-ots/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coajs","download_url":"https://codeload.github.com/coajs/coa-ali-ots/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coajs%2Fcoa-ali-ots/sbom","scorecard":{"id":294982,"data":{"date":"2025-08-11","repo":{"name":"github.com/coajs/coa-ali-ots","commit":"bb7287592400ba7f013f738ea66ea7e0736152d1"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.yml:1","Warn: no topLevel permission defined: .github/workflows/release.yml:1","Info: no jobLevel write permissions found"],"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/8 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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/coajs/coa-ali-ots/build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/coajs/coa-ali-ots/build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/coajs/coa-ali-ots/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/coajs/coa-ali-ots/release.yml/main?enable=pin","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned"],"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":"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":"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":"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 'main'"],"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":1,"reason":"9 existing vulnerabilities detected","details":["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-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-g954-5hwp-pp24","Warn: Project is vulnerable to: GHSA-h755-8qp9-cq85","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","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-17T19:16:13.439Z","repository_id":38735190,"created_at":"2025-08-17T19:16:13.440Z","updated_at":"2025-08-17T19:16:13.440Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272526727,"owners_count":24949836,"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-28T02:00:10.768Z","response_time":74,"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":["ali","ali-ots","coa","coa-ali-ots","coajs","ots"],"created_at":"2025-04-08T18:56:35.583Z","updated_at":"2025-08-28T17:10:51.667Z","avatar_url":"https://github.com/coajs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# coa-ali-ots\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-green.svg?style=flat-square)](LICENSE)\n[![npm version](https://img.shields.io/npm/v/coa-ali-ots.svg?style=flat-square)](https://www.npmjs.org/package/coa-ali-ots)\n[![npm downloads](https://img.shields.io/npm/dm/coa-ali-ots.svg?style=flat-square)](http://npm-stat.com/charts.html?package=coa-ali-ots)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://github.com/coajs/coa-ali-ots/pulls)\n\n轻量的阿里云 TableStore 封装 for Node.js。基于 [tablestore](https://www.npmjs.com/package/tablestore) 做简单处理。\n\n根据日常实际项目使用情况，封装了一些个人常用的的方法。此方法在特殊场景下使用，不具有普遍性。\n\n## 快速开始\n\n### 安装\n\n```shell\nyarn add coa-ali-ots\n```\n\n### 使用\n\n```typescript\nimport { AliOtsBin, AliOtsStorage, AliOtsVersion } from 'coa-ali-ots'\n\n// TableStore配置\nconst config = {\n  accessKeyId: 'LTAI4XXXXXXXXX1DNpZDk',\n  accessKeySecret: 'TxqDw89E3wXXXXXXXXXXXXoWZy2hXvZ',\n  instance: 'instance-name',\n  endpoint: 'https://instance-name.cn-shanghai.ots.aliyuncs.com',\n}\n\n// 初始化bin实例\nconst bin = new AliOtsBin(config)\n\n// 创建Version实例\nconst otsVersion = new AliOtsVersion(bin)\n\n// 根据项目名称返回一个新的版本号\nawait otsVersion.new('name') // 1\n\n// 创建存储实例\nconst otsStorage = new AliOtsStorage(bin)\n\n// 设置存储\nawait otsStorage.set('key1', 'data1')\n// 读取存储\nawait otsStorage.get('key1') // \"data1\"\n```\n\n更多的使用可以参考阿里云表格储存 Tablestore [官方文档](https://help.aliyun.com/document_detail/56350.html) 原文。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoajs%2Fcoa-ali-ots","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoajs%2Fcoa-ali-ots","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoajs%2Fcoa-ali-ots/lists"}