@turf/centroid 4.2.0
turf centroid module
@turf/centroid@4.2.0 was published on 2017-04-30. Its manifest declares 2 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. No Node.js engine requirement is declared in this manifest.
All @turf/centroid versions · Permanent reference to 4.2.0 · Latest release
Package specifications
| Version | 4.2.0 |
|---|---|
| License declaration | MIT |
| Published | 2017-04-30T21:46:55.520Z |
| Node.js requirement | Not declared |
| Type declarations | Bundled declarations |
| Runtime dependency count | 2 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | Not supplied |
| Published file count | Not supplied |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 2 |
| Repository stars | 10524 |
| Repository forks | 1025 |
Install @turf/centroid 4.2.0
npm install @turf/centroid@4.2.0 pnpm add @turf/centroid@4.2.0 yarn add @turf/centroid@4.2.0
Runtime dependencies
- @turf/meta ^4.2.0
- @turf/helpers ^4.2.0
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @turf/helpers@4.7.3 — direct
- @turf/meta@4.7.4 — direct
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.
| Maintained | 10/10 — 30 commit(s) and 7 issue activity found in the last 90 days -- score normalized to 10 |
|---|---|
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Security-Policy | 10/10 — security policy file detected |
| Code-Review | 0/10 — Found 1/27 approved changesets -- score normalized to 0 |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| License | 10/10 — license file detected |
| Pinned-Dependencies | 10/10 — all dependencies are pinned |
| Fuzzing | 10/10 — project is fuzzed |
| Packaging | 10/10 — packaging workflow detected |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/%40turf%2Fcentroid/4.2.0 — retrieved 2026-10-29T08:29:11.531Z
- https://api.deps.dev/v3/projects/github.com%2FTurfjs%2Fturf — retrieved 2026-10-29T05:58:41.010Z
- https://api.deps.dev/v3/systems/npm/packages/%40turf%2Fcentroid/versions/4.2.0 — retrieved 2026-10-29T08:29:12.048Z
- https://api.deps.dev/v3/systems/npm/packages/%40turf%2Fcentroid/versions/4.2.0:dependencies — retrieved 2026-10-29T08:29:12.057Z