{"name":"ahooks","version":"3.8.2","keywords":["ahooks","umi hooks","react hooks"],"license":"MIT","_id":"ahooks@3.8.2","homepage":"https://github.com/alibaba/hooks","bugs":{"url":"https://github.com/alibaba/hooks/issues"},"dist":{"shasum":"3e3cc70d181753ffa172fe0aa8272540d9000531","tarball":"http://registry-npm.ywwl.com/ahooks/download/ahooks-3.8.2.tgz","fileCount":505,"integrity":"sha512-iuYD3PWopdw9HqH++3ul6/Oxl9Q9/tP+np4yiYd0mIzN3QfDKnyII28MWUcmSkaHF415R6bUcrl0vD/80NNogg==","signatures":[{"sig":"MEUCIGA2NQoYXKQTNyiztYXKE9Q6FjuTNPVNTXi1WiFqXLJ+AiEAi252GWGGF6SmcWXuqqQfrjU9nyA9jc4h4jNWGm/gpts=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":597592,"size":133214,"noattachment":false,"key":"/ahooks/-/ahooks-3.8.2.tgz"},"main":"./lib/index.js","types":"./lib/index.d.ts","unpkg":"dist/ahooks.js","module":"./es/index.js","authors":{"name":"brickspert","email":"brickspert.fjl@alipay.com"},"engines":{"node":">=8.0.0"},"gitHead":"11f6ad571bd365c95ecb9409ca3050cbbfc9b34a","scripts":{"build":"gulp && webpack-cli"},"_npmUser":{"name":"taoweng","email":"li1076629390@gmail.com"},"repository":{"url":"git+https://github.com/alibaba/hooks.git","type":"git"},"_npmVersion":"9.6.7","description":"react hooks library","directories":{},"sideEffects":false,"_nodeVersion":"18.17.1","dependencies":{"dayjs":"^1.9.1","tslib":"^2.4.1","lodash":"^4.17.21","js-cookie":"^3.0.5","screenfull":"^5.0.0","@babel/runtime":"^7.21.0","react-fast-compare":"^3.2.2","intersection-observer":"^0.12.0","resize-observer-polyfill":"^1.5.1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"antd":"^5.2.1","mockjs":"^1.1.0","@alifd/next":"^1.20.6","@types/lodash":"^4.14.202","react-json-view":"^1.21.3","@types/js-cookie":"^3.0.6","@ant-design/icons":"^5.0.1","jest-websocket-mock":"^2.1.0","react-drag-listview":"^0.1.6"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0 || ^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ahooks_3.8.2_1733324817115_0.7795370944334052","host":"s3://npm-registry-packages"},"readme":"<p align=\"center\">\n  <a href=\"https://ahooks.js.org\">\n    <img width=\"200\" src=\"https://ahooks.js.org/logo.svg\">\n  </a>\n</p>\n\n<div align=\"center\">\n\nA high-quality & reliable React Hooks library.\n\n[![NPM version][image-1]][1]\n[![NPM downloads][image-2]][2]\n[![npm](https://img.shields.io/npm/dw/ahooks-v2?label=downloads%28v2%29)](https://www.npmjs.com/package/ahooks-v2)\n[![npm](https://img.shields.io/github/issues/alibaba/hooks)](https://github.com/alibaba/hooks/issues)\n[![Coverage Status](https://coveralls.io/repos/github/alibaba/hooks/badge.svg?branch=master)](https://coveralls.io/github/alibaba/hooks?branch=master)\n![gzip size](https://img.badgesize.io/https:/unpkg.com/ahooks/dist/ahooks.js?label=gzip%20size&compression=gzip)\n[![Percentage of issues still open](http://isitmaintained.com/badge/open/alibaba/hooks.svg)](http://isitmaintained.com/project/alibaba/hooks 'Percentage of issues still open')\n[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/alibaba/hooks.svg)](http://isitmaintained.com/project/alibaba/hooks 'Average time to resolve an issue')\n![GitHub](https://img.shields.io/github/license/alibaba/hooks)\n\nEnglish | [简体中文](https://github.com/alibaba/hooks/blob/master/README.zh-CN.md)\n\n</div>\n\n## 📚 Documentation\n\n- [English](https://ahooks.js.org/)\n- [中文](https://ahooks.js.org/zh-CN/)\n\n## ✨ Features\n\n- Easy to learn and use\n- Supports SSR\n- Special treatment for functions, avoid closure problems\n- Contains a large number of advanced Hooks that are refined from business scenarios\n- Contains a comprehensive collection of basic Hooks\n- Written in TypeScript with predictable static types\n\n## 📦 Install\n\n```bash\n$ npm install --save ahooks\n# or\n$ yarn add ahooks\n# or\n$ pnpm add ahooks\n# or\n$ bun add ahooks\n```\n\n## 🔨 Usage\n\n```ts\nimport { useRequest } from 'ahooks';\n```\n\n## 💻 Online Demo\n\n[![Edit demo for ahooks](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/demo-for-ahooks-forked-fg79k?file=/src/App.js)\n\n## 🤝 Contributing\n\n```bash\n$ git clone git@github.com:alibaba/hooks.git\n$ cd hooks\n$ pnpm run init\n$ pnpm start\n```\n\nOpen your browser and visit http://127.0.0.1:8000\n\nWe welcome all contributions, please read our [CONTRIBUTING.MD](https://github.com/alibaba/hooks/blob/master/CONTRIBUTING.MD) first, let's build a better hooks library together.\n\nThanks to all the contributors:\n\n<a href=\"https://github.com/alibaba/hooks/graphs/contributors\">\n  <img src=\"https://opencollective.com/ahooks/contributors.svg?width=960&button=false\" alt=\"contributors\" />\n</a>\n\n## 👥 Discuss\n\n<img src=\"https://github.com/alibaba/hooks/assets/49217418/ba636378-1dff-4754-bfe6-46923417cd3b\" width=\"200\" style='display:inline' /><img src=\"https://github.com/alibaba/hooks/assets/49217418/93a169ce-f9d1-4a66-a829-9f16e790ee28\" width=\"200\" style='display:inline' /><img src=\"https://github.com/alibaba/hooks/assets/49217418/d30d80c7-eb16-4522-acab-f2d48513464a\" width=\"200\" style='display:inline' />\n\n[1]: https://www.npmjs.com/package/ahooks\n[2]: https://npmjs.org/package/ahooks\n[image-1]: https://img.shields.io/npm/v/ahooks.svg?style=flat\n[image-2]: https://img.shields.io/npm/dw/ahooks.svg?style=flat\n","publish_time":1733324817342,"maintainers":[{"name":"awmleer","email":"awmleer@icloud.com"},{"name":"liuyib","email":"liuyibo0616@gmail.com"},{"name":"taoweng","email":"li1076629390@gmail.com"},{"name":"fan576679268","email":"576679268@qq.com"},{"name":"straw94","email":"anranemails@163.com"}],"_cnpm_publish_time":1733324817342,"dist-tags":{"alpha":"3.0.0-alpha.0","beta":"3.10.0-beta.1","latest":"3.11.0","next":"3.0.0-alpha.18","test":"3.10.0-test.1"}}