npm · npm:@turf/centroid
@turf/centroid active
Determines the geometric center of a polygon or shape.
The latest stable version of @turf/centroid is 7.4.0, published on 2026-08-03. Verified by Vigia on 2026-11-12.
| Latest stable version | 7.4.0 |
|---|---|
| Published | 2026-08-03 15:29:02 UTC |
| Install | npm install @turf/centroid@latest |
| Requires (engines) | none declared |
| Peer dependencies | — |
| Dist-tags | canary: 3.5.2-alpha.d2c36ee7 latest: 7.4.0 prerelease: 7.1.0-alpha.70 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 12:17:46 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Is your project affected?
Check my whole package.jsonGet notified of new versions (Atom)Facts for my AGENTS.md
Free, no signup. Paste your manifest and see what is outdated, deprecated or vulnerable.
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-08-03 15:29:02 UTC · 101 days ago |
| Stable releases in the last 12 months | 7 |
| Published versions | 69 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
7.4.0 | 2026-08-03 15:29:02 UTC |
7.3.5 | 2026-04-19 12:06:09 UTC |
7.3.4 | 2026-02-08 02:02:31 UTC |
7.3.3 | 2026-01-28 02:18:37 UTC |
7.3.2 | 2026-01-14 02:47:42 UTC |
7.3.1 | 2025-11-27 07:03:52 UTC |
7.3.0 | 2025-11-17 09:25:12 UTC |
7.2.0 | 2024-12-29 04:58:52 UTC |
7.1.0 | 2024-08-09 18:24:39 UTC |
7.0.0 | 2024-06-07 13:51:37 UTC |
6.5.0 | 2021-07-10 10:17:34 UTC |
6.4.0 | 2021-06-17 13:30:47 UTC |
6.3.0 | 2021-01-20 14:39:18 UTC |
6.2.0 | 2021-01-12 14:57:18 UTC |
6.0.2 | 2018-04-04 13:06:19 UTC |
6.0.0 | 2018-02-23 23:17:44 UTC |
5.1.5 | 2017-12-10 05:11:07 UTC |
5.1.0 | 2017-12-07 19:25:41 UTC |
5.0.4 | 2017-11-09 17:48:22 UTC |
4.7.3 | 2017-09-12 13:21:17 UTC |
Showing the 20 most recent of 53 versions. JSON
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 @turf/centroid?
The latest stable version of @turf/centroid is 7.4.0, published on 2026-08-03. Verified by Vigia on 2026-11-12.
How do I install the latest version of @turf/centroid?
Run npm install @turf/centroid@latest. The latest stable version is 7.4.0 (verified 2026-11-12).
Is @turf/centroid deprecated?
No. @turf/centroid is not marked as deprecated in the registry.
Which Node.js version does @turf/centroid require?
@turf/centroid 7.4.0 does not declare a Node.js version requirement.
Does @turf/centroid 7.4.0 have known vulnerabilities?
No known advisories affect @turf/centroid 7.4.0 according to the data Vigia checks.
Is @turf/centroid still maintained?
@turf/centroid published 7 stable releases in the last 12 months; the most recent was 101 days ago. Activity: active.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- @antfu/ni
- @csstools/postcss-logical-overscroll-behavior
- @sentry/tracing
- @types/bluebird
- alphanum-sort
- glob-base
- @datadog/libdatadog
- prism-react-renderer
- slick
- unhead
- validate.io-function
- first-chunk-stream
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/@turf/centroid) [](https://vigia.coredls.cloud/npm/@turf/centroid) [](https://vigia.coredls.cloud/npm/@turf/centroid)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/@turf/centroid
GET https://vigia.coredls.cloud/v1/packages/npm/@turf/centroid/versions/{version}