@turf/invariant

npmv7.3.5

Lightweight utility for input validation and data extraction in Turf.js. Ensures GeoJSON inputs are in the correct format and extracts specific components like coordinates or geometries.

License MITpermissive64 versions9 maintainers3 deps6,798,287 weekly dl
git://github.com/Turfjs/turf
87
/ 100
Health
safe to use

@turf/[email protected] is safe to use (health: 87/100)

Health breakdown0 – 100
25/25
maintenance
17/20
popularity
25/25
security
15/15
maturity
5/15
community
Vulnerabilities
0
none known

Bundle & TypeScript

📦

Bundle Size

2.3 KBminified
0.7 KB gzipped
3 direct dependencies
ESMscoped
🌟

TypeScript

10/10typed
bundled

Health History

Dependency Tree

License Audit

API access

Get this data programmatically — free, no authentication.

curl https://depscope.dev/api/check/npm/@turf/invariant

First published · 2016-07-06T15:58:09.624Z

Last updated · 2026-04-19T12:05:56.594Z