{"id":18938176,"url":"https://github.com/wechat-miniprogram/minigame-api-typings","last_synced_at":"2025-05-15T13:07:46.510Z","repository":{"id":34643582,"uuid":"181687869","full_name":"wechat-miniprogram/minigame-api-typings","owner":"wechat-miniprogram","description":"Type definitions for APIs of Wechat Mini Game in TypeScript","archived":false,"fork":false,"pushed_at":"2025-04-14T13:30:16.000Z","size":1938,"stargazers_count":148,"open_issues_count":12,"forks_count":27,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-05-15T10:41:20.405Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://developers.weixin.qq.com/minigame/dev/guide/","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/wechat-miniprogram.png","metadata":{"files":{"readme":"README-en.md","changelog":"CHANGELOG.md","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":"2019-04-16T12:46:42.000Z","updated_at":"2025-05-08T10:41:40.000Z","dependencies_parsed_at":"2023-02-17T17:05:20.859Z","dependency_job_id":"8ce10a41-0adf-4208-9c1b-4edce3cbe6e4","html_url":"https://github.com/wechat-miniprogram/minigame-api-typings","commit_stats":{"total_commits":56,"total_committers":4,"mean_commits":14.0,"dds":0.0535714285714286,"last_synced_commit":"fa86be8d86076f5a7ee3e57e89da80b25a3f495a"},"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wechat-miniprogram%2Fminigame-api-typings","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wechat-miniprogram%2Fminigame-api-typings/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wechat-miniprogram%2Fminigame-api-typings/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wechat-miniprogram%2Fminigame-api-typings/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wechat-miniprogram","download_url":"https://codeload.github.com/wechat-miniprogram/minigame-api-typings/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254346624,"owners_count":22055808,"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":[],"created_at":"2024-11-08T12:13:38.679Z","updated_at":"2025-05-15T13:07:41.501Z","avatar_url":"https://github.com/wechat-miniprogram.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# Wechat MiniGame API Typings\n\n\u003e [中文版本](./README.md)\n\n[![Published on NPM](https://img.shields.io/npm/v/minigame-api-typings.svg?style=flat)](https://www.npmjs.com/package/minigame-api-typings)\n[![MIT License](https://img.shields.io/github/license/wechat-miniprogram/minigame-api-typings.svg)](https://github.com/wechat-miniprogram/minigame-api-typings)\n[![GitHub Actions Test Status](https://github.com/wechat-miniprogram/minigame-api-typings/actions/workflows/test.yml/badge.svg?branch=master)](https://github.com/wechat-miniprogram/minigame-api-typings/actions/workflows/test.yml)\n\nType definitions for APIs of Wechat Mini Game in TypeScript\n\n## Install\n\nInstall by NPM:\n\n```bash\nnpm install minigame-api-typings\n```\nManually import it after installed:\n- `import 'minigame-api-typings';`\n\nOr specify types in typescript config:\n- Specify `types: [\"minigame-api-typings\"]` in `tsconfig.json`\n\nOr reference by [Triple-Slash Directives](https://www.typescriptlang.org/docs/handbook/triple-slash-directives.html):\n- `/// \u003creference path=\"node_modules/minigame-api-typings/index.d.ts\" /\u003e`\n\n## Changelog\n\nSee [CHANGELOG.md](https://github.com/wechat-miniprogram/minigame-api-typings/blob/master/CHANGELOG.md) (Chinese only)\n\n\n## Contribution\n\nDefinitions of Wechat APIs (`lib.wx.api.d.ts`) are auto-generated together with our [documentations](https://developers.weixin.qq.com/minigame/en/dev/api/), therefore PRs including that file will __not__ be merged. If you found some APIs defined wrongly, create an issue instead.\n\n\n### Automated tests\n\nWe use [`tsd`](https://github.com/SamVerschueren/tsd) to check if this definition is working properly. All test cases are under folder `test`.\n\nTo perform an automated test, clone this repo, `npm install --save-dev` and `npm test`.\n\nIf you have test case that fails the test, an issue or PR will be great. Strong test case that passes are also welcomed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwechat-miniprogram%2Fminigame-api-typings","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwechat-miniprogram%2Fminigame-api-typings","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwechat-miniprogram%2Fminigame-api-typings/lists"}