facebook/prop-types
Runtime type checking for React props and similar objects observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3435
- days_rel: n/a
- days_push: 838
- n_releases_24m: 0
Adoption not part of the score
4448 stars · 347 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A JavaScript library for runtime type checking of React component props and similar objects. It lets developers document expected property types and warns in development when passed props don't match the declared validators.
Use cases
- validate react component props at runtime
- document expected types of component properties
- warn developers when props don't match definitions
- type check props in plain javascript objects
- add prop validation to legacy react class components
When to choose
- you use React (or similar component libraries) and want lightweight runtime prop validation
- you need to document intended prop types for components without adopting TypeScript
- you want development-time warnings for incorrect props in a JavaScript codebase
When to avoid
- your project already uses TypeScript or Flow for static type checking
- you need runtime validation of arbitrary data structures rather than component props
- you want a modern actively developed validation solution
Facets
library · maturity maintenance
type-system frontend-framework developer-tools web-development frontend developer-tools browser react prop-validation runtime-type-checking npm-package development-warnings nodejs javascript
2 sources
- readme: https://github.com/facebook/prop-types · fetched 2026-08-28 · 3f17d7059015
- registry_npm: https://registry.npmjs.org/prop-types · fetched 2026-08-29 · bbbb744ae19c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| facebook/prop-types | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="facebook/prop-types")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem