{"id":28124650,"url":"https://github.com/tarojsx/library","last_synced_at":"2025-05-14T09:19:15.288Z","repository":{"id":43526094,"uuid":"242195157","full_name":"tarojsx/library","owner":"tarojsx","description":"Taro3 third-party library integration","archived":false,"fork":false,"pushed_at":"2022-02-27T01:50:57.000Z","size":1249,"stargazers_count":32,"open_issues_count":5,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-19T16:18:29.311Z","etag":null,"topics":["components","react","taro","taro3","typescript","wechat","weixin","wx"],"latest_commit_sha":null,"homepage":"https://tarojsx.github.io/docs/library/README","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/tarojsx.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":"2020-02-21T17:31:43.000Z","updated_at":"2024-11-15T06:24:46.000Z","dependencies_parsed_at":"2022-09-12T16:05:48.112Z","dependency_job_id":null,"html_url":"https://github.com/tarojsx/library","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarojsx%2Flibrary","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarojsx%2Flibrary/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarojsx%2Flibrary/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarojsx%2Flibrary/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tarojsx","download_url":"https://codeload.github.com/tarojsx/library/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254110432,"owners_count":22016392,"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":["components","react","taro","taro3","typescript","wechat","weixin","wx"],"created_at":"2025-05-14T09:18:44.185Z","updated_at":"2025-05-14T09:19:15.278Z","avatar_url":"https://github.com/tarojsx.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003ch1\u003eTaro3 Library\u003c/h1\u003e\n\u003c/div\u003e\n\u003cdiv align=\"center\"\u003e\n    \u003cstrong\u003eTaro3 里可以跑起来的第三方优秀类库\u003c/strong\u003e\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\n\u003cdiv align=\"center\"\u003e\n    \u003ca href=\"https://github.com/tarojsx/library/blob/master/LICENSE\"\u003e\n        \u003cimg src=\"https://badgen.net/github/license/tarojsx/library\" alt=\"License\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://www.npmjs.com/package/@tarojsx/library\"\u003e\n        \u003cimg src=\"https://badgen.net/npm/v/@tarojsx/library\" alt=\"npm version\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://www.npmjs.com/org/tarojsx\"\u003e\n        \u003cimg src=\"https://badgen.net/npm/dt/@tarojsx/library\" alt=\"npm downloads\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/tarojsx/library/blob/master/package.json\"\u003e\n        \u003cimg src=\"https://badgen.net/github/dependents-pkg/tarojsx/library\" alt=\"dependents\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"http://makeapullrequest.com\"\u003e\n        \u003cimg src=\"https://badgen.net/badge/PRs/welcome/green\" alt=\"PRs welcome\" /\u003e\n    \u003c/a\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n    Built with :purple_heart: by\n    \u003ca href=\"https://github.com/cncolder\"\u003e@Colder\u003c/a\u003e and\n    \u003ca href=\"https://github.com/tarojsx/library/graphs/contributors\"\u003e\n        Contributors\n    \u003c/a\u003e\n    \u003cdiv align=\"center\"\u003e\n        :star2: :eyes: :zap: :boom:\n    \u003c/div\u003e\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\n_当前代码提交频繁, 一些特性时有变化._\n\n待续不断搜索可以运行在 Taro3 环境下的[优秀第三方类库](https://github.com/search?o=desc\u0026q=react\u0026s=stars\u0026type=Repositories).\n\n## 特性\n\n- :gift: 使用原始 npm 包, 保持原汁原味, 不做侵入性的修改.\n\n- :wrench: 简化配置, 搭配 [`@tarojsx/polyfill`](https://github.com/tarojsx/polyfill) 使用.\n\n- :mag_right: 完善的 Typescript 类型提示.\n\n- :telescope: 持续探索中...\n\n## 需求\n\n* **taro 3+**\n\n## 安装\n\n`npm i @tarojsx/library @tarojsx/polyfill`\n\n## 使用\n\n部分组件需要用到 polyfill.\n\n更新 config/index.js 配置如下\n\n```js\nconst { TaroProvidePlugin } = require('@tarojsx/polyfill/dist/plugins')\n\nconst config = {\n    mini: {\n        webpackChain(chain, webpack) {\n            chain\n                .plugin('taroProviderPlugin')\n                .use(TaroProvidePlugin)\n        }\n    }\n}\n```\n\n## 模块\n\n### 图表\n\n* [x] [AntV F2](docs/antv-f2.mdx) - 让数据栩栩如生\n\n### 虚拟滚动\n\n* [x] [react-window](docs/react-window.mdx) - 虚拟滚动\n  * [x] `FixedSizeList`\n  * [x] `VariableSizeList`\n* [x] [react-vtree](docs/react-vtree.mdx) - 虚拟滚动树\n  * [x] `FixedSizeTree`\n\n### 交互动画\n\n* [x] [react-spring](docs/react-spring.mdx) - 弹性物理动画\n* [x] [react-use-gesture](docs/react-use-gesture.mdx) - 触摸手势\n\n## 支持\n\n欢迎各种形式的支持. 至少可以给颗星 :star:\n\n### 测试步骤\n\n1. 打开微信开发者工具 CLI/HTTP 调用功能，设置 - 安全设置 - 服务端口\n2. 导入项目，目录指向当前项目文件夹。\n3. 运行 `npm run test`\n4. 如果提示 `Failed to launch wechat web devTools`，请先退出微信开发者工具。\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarojsx%2Flibrary","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftarojsx%2Flibrary","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarojsx%2Flibrary/lists"}