[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-1635":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":25,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":31,"readmeContent":32,"aiSummary":33,"trendingCount":16,"starSnapshotCount":16,"syncStatus":34,"lastSyncTime":35,"discoverSource":36},1635,"husky","typicode\u002Fhusky","typicode","Git hooks made easy 🐶 woof!","https:\u002F\u002Ftypicode.github.io\u002Fhusky",null,"JavaScript",35139,1086,152,80,0,3,16,95,14,44.11,"MIT License",false,"main",true,[27,28,29,30],"commit","git","hooks","pre-commit","2026-06-12 02:00:30","# husky\n\n[![](https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fdm\u002Fhusky.svg?style=flat)](https:\u002F\u002Fwww.npmjs.org\u002Fpackage\u002Fhusky) [![Node.js CI](https:\u002F\u002Fgithub.com\u002Ftypicode\u002Fhusky\u002Fworkflows\u002FNode.js%20CI\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Ftypicode\u002Fhusky\u002Factions)\n\n> Modern native Git hooks made easy\n\nHusky improves your commits and more 🐶 _woof!_\n\n> [!NOTE]\n> Using React? See [MistCSS](https:\u002F\u002Fgithub.com\u002Ftypicode\u002Fmistcss) typed CSS components.\n\n## Features\n\n- Just `2 kB` (📦 _gzipped_) with no dependencies\n- Fastest due to being lightweight (runs in `~1ms`)\n- Uses new Git feature (`core.hooksPath`)\n- Supports:\n  - macOS, Linux, Windows\n  - Git GUIs, Node version managers, custom hooks directory, nested projects, monorepos\n  - [All 13 client-side Git hooks](https:\u002F\u002Fgit-scm.com\u002Fdocs\u002Fgithooks)\n\nAnd more:\n\n- Branch-specific hooks\n- Use POSIX shell to script advanced cases\n- Adheres to Git's native hook organization\n- Aligns with [npm](https:\u002F\u002Fdocs.npmjs.com\u002Fcli\u002Fv10\u002Fusing-npm\u002Fscripts#best-practices) best practices using `prepare` script\n- Opt-in\u002Fopt-out options\n- User-friendly error messages\n\n## Changelog\n\n[Check out the v9 changelog](https:\u002F\u002Fgithub.com\u002Ftypicode\u002Fhusky\u002Freleases\u002Ftag\u002Fv9.0.1) to discover all the new and improved features!\n\n## Documentation\n\nhttps:\u002F\u002Ftypicode.github.io\u002Fhusky\n\n**Important** Upgrading from v4 to v9 requires migrating previous config, please see the docs.\n\n## Sponsors\n\nSupport this project by becoming a sponsor [here](https:\u002F\u002Fgithub.com\u002Fsponsors\u002Ftypicode) 💖\n\n### GitHub\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"http:\u002F\u002Fgit-tower.com\u002F?utm_source=husky&utm_medium=referral\">\n    \u003Cimg height=\"100\" style=\"height: 100px; width: auto; max-width: none;\" alt=\"Git Tower\" src=\"https:\u002F\u002Fcamo.githubusercontent.com\u002F4b4d0ae4ec27fe8591b575c86fe21c562f34926893272dccc05fbf0447d38694\u002F68747470733a2f2f6a736f6e706c616365686f6c6465722e74797069636f64652e636f6d2f746f7765722d69636f6e2d616e642d6c6f676f2d31343030783236302e706e67\" \u002F>\n  \u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fserpapi.com\u002F?utm_source=typicode\">\n    \u003Cimg height=\"100\" style=\"height: 100px; width: auto; max-width: none;\" src=\"https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F52b3039d-1e4c-4c68-951c-93f0f1e73611\" alt=\"SerpApi\" \u002F>\n  \u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"..\u002Fdocs\u002Fsponsorkit\u002Fsponsors.svg\">\n    \u003Cimg src='..\u002Fdocs\u002Fsponsorkit\u002Fsponsors.svg'\u002F>\n  \u003C\u002Fa>\n\u003C\u002Fp>\n\n### Open Collective\n\n\u003Ca href=\"https:\u002F\u002Fopencollective.com\u002Fhusky\u002Ftiers\u002Fcompany\u002F0\u002Fwebsite\">\u003Cimg src=\"https:\u002F\u002Fopencollective.com\u002Fhusky\u002Ftiers\u002Fcompany\u002F0\u002Favatar.svg?avatarHeight=120\">\u003C\u002Fa>\n\u003Ca href=\"https:\u002F\u002Fopencollective.com\u002Fhusky\u002Ftiers\u002Fcompany\u002F1\u002Fwebsite\">\u003Cimg src=\"https:\u002F\u002Fopencollective.com\u002Fhusky\u002Ftiers\u002Fcompany\u002F1\u002Favatar.svg?avatarHeight=120\">\u003C\u002Fa>\n\u003Ca href=\"https:\u002F\u002Fopencollective.com\u002Fhusky\u002Ftiers\u002Fcompany\u002F2\u002Fwebsite\">\u003Cimg src=\"https:\u002F\u002Fopencollective.com\u002Fhusky\u002Ftiers\u002Fcompany\u002F2\u002Favatar.svg?avatarHeight=120\">\u003C\u002Fa>\n\u003Ca href=\"https:\u002F\u002Fopencollective.com\u002Fhusky\u002Ftiers\u002Fcompany\u002F3\u002Fwebsite\">\u003Cimg src=\"https:\u002F\u002Fopencollective.com\u002Fhusky\u002Ftiers\u002Fcompany\u002F3\u002Favatar.svg?avatarHeight=120\">\u003C\u002Fa>\n\u003Ca href=\"https:\u002F\u002Fopencollective.com\u002Fhusky\u002Ftiers\u002Fcompany\u002F4\u002Fwebsite\">\u003Cimg src=\"https:\u002F\u002Fopencollective.com\u002Fhusky\u002Ftiers\u002Fcompany\u002F4\u002Favatar.svg?avatarHeight=120\">\u003C\u002Fa>\n\u003Ca href=\"https:\u002F\u002Fopencollective.com\u002Fhusky\u002Ftiers\u002Fcompany\u002F5\u002Fwebsite\">\u003Cimg src=\"https:\u002F\u002Fopencollective.com\u002Fhusky\u002Ftiers\u002Fcompany\u002F5\u002Favatar.svg?avatarHeight=120\">\u003C\u002Fa>\n[![image](https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002Fb9c5a918-70fc-4615-ae7d-e7e5bc3c66e8)](https:\u002F\u002Fwww.sanity.io\u002F)\n","Husky 是一个简化 Git 钩子配置和使用的工具。它通过提供轻量级（仅2kB，gzip压缩后）且无依赖的解决方案，使开发者能够轻松地为项目添加预提交检查、格式化代码等自动化任务。Husky 支持所有13种客户端 Git 钩子，并利用 Git 的新特性 `core.hooksPath` 来提高性能。此外，它兼容 macOS、Linux 和 Windows 操作系统，支持 Git GUIs、Node 版本管理器以及多仓库项目。Husky 适合需要增强代码质量和团队协作效率的各种开发场景，特别是那些频繁使用 Git 进行版本控制的软件项目。",2,"2026-06-11 02:45:10","top_all"]