npm · npm:pre-commit
pre-commit active
Automatically install pre-commit hooks for your npm modules.
The latest stable version of pre-commit is 2.0.0, published on 2026-04-28. Verified by Vigia on 2026-11-12.
| Latest stable version | 2.0.0 |
|---|---|
| Published | 2026-04-28 14:32:29 UTC |
| Install | npm install pre-commit@latest |
| Requires (engines) | {"node":">=16.13.0"} |
| Peer dependencies | — |
| Dist-tags | latest: 2.0.0 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 13:09:29 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Maintenance
| Activity | slowing down |
|---|---|
| Last stable release | 2026-04-28 14:32:29 UTC · 198 days ago |
| Stable releases in the last 12 months | 1 |
| Published versions | 31 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
2.0.0 | 2026-04-28 14:32:29 UTC |
1.2.2 | 2016-12-13 12:03:29 UTC |
1.2.1 | 2016-12-12 00:18:25 UTC |
1.2.0 | 2016-12-09 12:08:05 UTC |
1.1.3 | 2016-05-10 13:31:57 UTC |
1.1.2 | 2015-10-20 09:19:35 UTC |
1.1.1 | 2015-07-31 12:15:21 UTC |
1.1.0 | 2015-07-31 09:12:56 UTC |
1.0.10 | 2015-06-10 12:45:25 UTC |
1.0.9 | 2015-06-10 09:49:52 UTC |
1.0.8 | 2015-06-09 15:59:48 UTC |
1.0.7 | 2015-04-28 07:01:25 UTC |
1.0.6 | 2015-03-05 18:29:58 UTC |
1.0.5 | 2015-02-24 23:21:47 UTC |
1.0.4 | 2015-02-14 17:50:44 UTC |
1.0.3 | 2015-02-13 08:44:30 UTC |
1.0.2 | 2015-02-02 11:58:19 UTC |
1.0.1 | 2015-01-30 21:20:16 UTC |
1.0.0 | 2015-01-30 20:40:22 UTC |
0.0.11 | 2015-01-16 18:40:12 UTC |
Showing the 20 most recent of 31 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
node 16 | 2.0.0 |
node 18 | 2.0.0 |
node 20 | 2.0.0 |
node 22 | 2.0.0 |
node 24 | 2.0.0 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of pre-commit?
The latest stable version of pre-commit is 2.0.0, published on 2026-04-28. Verified by Vigia on 2026-11-12.
How do I install the latest version of pre-commit?
Run npm install pre-commit@latest. The latest stable version is 2.0.0 (verified 2026-11-12).
Is pre-commit deprecated?
No. pre-commit is not marked as deprecated in the registry.
Which Node.js version does pre-commit require?
pre-commit 2.0.0 declares this requirement: {"node":">=16.13.0"}.
Does pre-commit 2.0.0 have known vulnerabilities?
No known advisories affect pre-commit 2.0.0 according to the data Vigia checks.
Is pre-commit still maintained?
pre-commit published 1 stable releases in the last 12 months; the most recent was 198 days ago. Activity: slowing down.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- @fluentui/react-card
- @stdlib/fs-read-file
- node-vault
- react-selecto
- @material/layout-grid
- moti
- glsl-token-descope
- @trezor/utils
- airtable
- @sanity/template-validator
- @material/banner
- @chakra-ui/tooltip
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/pre-commit) [](https://vigia.coredls.cloud/npm/pre-commit) [](https://vigia.coredls.cloud/npm/pre-commit)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/pre-commit
GET https://vigia.coredls.cloud/v1/packages/npm/pre-commit/versions/{version}