{"id":28539337,"url":"https://github.com/yourtion/node-cmb-open","last_synced_at":"2026-04-28T01:33:25.975Z","repository":{"id":57201101,"uuid":"114842343","full_name":"yourtion/node-cmb-open","owner":"yourtion","description":"掌上生活开放平台 Node.js SDK","archived":false,"fork":false,"pushed_at":"2019-01-09T09:53:34.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-28T06:37:53.413Z","etag":null,"topics":["cmb","cmb-life","cmbchina","nodejs","open-cmb","sdk"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/cmb-open","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/yourtion.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}},"created_at":"2017-12-20T04:22:17.000Z","updated_at":"2019-01-09T09:53:36.000Z","dependencies_parsed_at":"2022-09-15T11:21:54.209Z","dependency_job_id":null,"html_url":"https://github.com/yourtion/node-cmb-open","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/yourtion/node-cmb-open","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yourtion%2Fnode-cmb-open","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yourtion%2Fnode-cmb-open/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yourtion%2Fnode-cmb-open/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yourtion%2Fnode-cmb-open/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yourtion","download_url":"https://codeload.github.com/yourtion/node-cmb-open/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yourtion%2Fnode-cmb-open/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32362781,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cmb","cmb-life","cmbchina","nodejs","open-cmb","sdk"],"created_at":"2025-06-09T18:31:37.834Z","updated_at":"2026-04-28T01:33:25.961Z","avatar_url":"https://github.com/yourtion.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![NPM version][npm-image]][npm-url]\n[![node version][node-image]][node-url]\n[![npm download][download-image]][download-url]\n[![npm license][license-image]][download-url]\n\n[npm-image]: https://img.shields.io/npm/v/cmb-open.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/cmb-open\n[node-image]: https://img.shields.io/badge/node.js-%3E=4.0-green.svg?style=flat-square\n[node-url]: http://nodejs.org/download/\n[download-image]: https://img.shields.io/npm/dm/cmb-open.svg?style=flat-square\n[download-url]: https://npmjs.org/package/cmb-open\n[license-image]: https://img.shields.io/npm/l/cmb-open.svg\n\n# node-cmb-open\n\n掌上生活开放平台（ https://open.cmbchina.com/Platform/ ） Node.js SDK\n\n## 安装\n\n```bash\nnpm install cmb-open --save\n```\n\n## 使用\n\n```javascript\nconst CMB = require('cmb-open');\nconst cmb = new CMB({\n  mid: 'xxx',\n  aid: 'xxx',\n  key: '/path/to/cmb.key',\n  publicKey: '/path/to/pubkey.pem',\n});\n\n// 授权登录\ncmb.getApproval();\n// 获取 AccessToken\ncmb.getAccessToken();\n// 结果签名验证\ncmb.verifyRespons();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyourtion%2Fnode-cmb-open","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyourtion%2Fnode-cmb-open","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyourtion%2Fnode-cmb-open/lists"}