{"id":21638017,"url":"https://github.com/airdwing/node-appkey","last_synced_at":"2025-07-15T04:32:01.991Z","repository":{"id":87694230,"uuid":"91403767","full_name":"AirDwing/node-appkey","owner":"AirDwing","description":"AppKey/AppSecret生成器","archived":false,"fork":false,"pushed_at":"2017-11-28T02:03:01.000Z","size":18,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-11T17:00:01.843Z","etag":null,"topics":["api","key","node","secret"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/appkey","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/AirDwing.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-05-16T02:11:38.000Z","updated_at":"2023-12-08T03:15:15.000Z","dependencies_parsed_at":"2024-03-24T05:00:09.672Z","dependency_job_id":null,"html_url":"https://github.com/AirDwing/node-appkey","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AirDwing/node-appkey","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AirDwing%2Fnode-appkey","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AirDwing%2Fnode-appkey/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AirDwing%2Fnode-appkey/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AirDwing%2Fnode-appkey/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AirDwing","download_url":"https://codeload.github.com/AirDwing/node-appkey/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AirDwing%2Fnode-appkey/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265402833,"owners_count":23759237,"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","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":["api","key","node","secret"],"created_at":"2024-11-25T04:07:54.423Z","updated_at":"2025-07-15T04:32:01.968Z","avatar_url":"https://github.com/AirDwing.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AppKey\n\nApp Key/Secret Generator\n\n[![npm](https://img.shields.io/npm/v/appkey.svg?style=plastic)](https://npmjs.org/package/appkey) [![npm](https://img.shields.io/npm/dm/appkey.svg?style=plastic)](https://npmjs.org/package/appkey)\n[![npm](https://img.shields.io/npm/dt/appkey.svg?style=plastic)](https://npmjs.org/package/appkey)\n\n## 安装及使用\n\n```bash\nyarn add appkey\n# 或\nnpm i -S appkey\n```\n\n示例代码:\n\n```js\nconst gen = require('appkey');\n\nconst {key, secret} = gen();\nconsole.log(key, secret);\n```\n\n## 参数说明\n\n- SALT(string): 加盐参数\n- Length(int): 生成的`Key`长度\n\n`SALT`默认值为6位随机字符,默认生成的`Key`为36字节,`Secret`长度固定为32个字节.\n\n## Benchmark\n\n```\ngen x 121,577 ops/sec ±1.12% (78 runs sampled)\n```\n\n## License\n\nMIT\n\n通过支付宝捐赠：\n\n![qr](https://cloud.githubusercontent.com/assets/1890238/15489630/fccbb9cc-2193-11e6-9fed-b93c59d6ef37.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fairdwing%2Fnode-appkey","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fairdwing%2Fnode-appkey","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fairdwing%2Fnode-appkey/lists"}