husky 2.7.0
Prevents bad commit or push (git hooks, pre-commit/precommit, pre-push/prepush, post-merge/postmerge and all that stuff...)
husky@2.7.0 was published on 2019-06-27. Its manifest declares 10 runtime dependencies and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. The declared Node.js requirement is >=8.
All husky versions · Permanent reference to 2.7.0 · Latest release
Package specifications
| Version | 2.7.0 |
|---|---|
| License declaration | MIT |
| Published | 2019-06-27T15:32:13.032Z |
| Node.js requirement | >=8 |
| Type declarations | Not declared |
| Runtime dependency count | 10 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 39.47 KiB |
| Published file count | 20 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | Not declared |
| Side effects declaration | Not declared |
| Direct advisories | Unknown |
| Resolved graph dependencies | Unknown |
| Repository stars | 35367 |
| Repository forks | 1102 |
Install husky 2.7.0
npm install husky@2.7.0 pnpm add husky@2.7.0 yarn add husky@2.7.0
Runtime dependencies
- execa ^1.0.0
- is-ci ^2.0.0
- slash ^3.0.0
- find-up ^3.0.0
- pkg-dir ^4.1.0
- read-pkg ^5.1.1
- run-node ^1.0.0
- get-stdin ^7.0.0
- cosmiconfig ^5.2.0
- please-upgrade-node ^3.1.1
Peer requirements
- None declared
Optional dependencies
- None declared
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Code-Review | 3/10 — Found 9/30 approved changesets -- score normalized to 3 |
|---|---|
| Maintained | 0/10 — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0 |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Token-Permissions | 10/10 — GitHub workflow tokens follow principle of least privilege |
| Pinned-Dependencies | 1/10 — dependency not pinned by hash detected -- score normalized to 1 |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Fuzzing | 0/10 — project is not fuzzed |
| Security-Policy | 0/10 — security policy file not detected |
| License | 10/10 — license file detected |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/husky/2.7.0 — retrieved 2026-10-31T13:02:00.515Z
- https://api.deps.dev/v3/projects/github.com%2Ftypicode%2Fhusky — retrieved 2026-10-31T08:56:38.738Z