Skip to main content
Head-to-Head NPM Comparison

@testing-library/reactvsenzyme

Detailed package comparison for bundle size, weekly downloads, supply chain security, and license obligations.

Weekly Downloads Leader
@testing-library/react41.6M/wk
Security Grade Leader
Equal Rating100/100
TypeScript Ready
@testing-library/react
Specification
@testing-library/reactv16.3.3
enzymev3.11.0
Weekly Downloads41.6MWinner664.9K
Unpacked Size331.6 KB901.5 KB
Security Grade
A+(100/100)
A+(100/100)
Lifecycle Scripts Clean (No scripts) Clean (No scripts)
TypeScript Support Built-in Types (.d.ts)Community @types
License TypeMITPERMISSIVEMITPERMISSIVE
Direct Dependencies122
Active Maintainers183
Last ReleaseAug 27, 2026Dec 20, 2019
Install Commandnpm i @testing-library/reactnpm i enzyme
Full Security ReportView @testing-library/react AuditView enzyme Audit
Free Castov VS Code Tool

Compare Dependencies Directly in VS Code

Audit supply chain risks, compare lightweight alternative packages, and catch malicious install scripts straight inside your package.json editor.

Download VS Code Extension

Frequently Asked Questions

Which package is more popular, @testing-library/react or enzyme?
@testing-library/react is currently more popular with higher weekly downloads (41.6M/week) compared to enzyme (664.9K/week).
Which has better supply chain security, @testing-library/react or enzyme?
@testing-library/react has a security score of 100/100 (Grade A+), while enzyme holds 100/100 (Grade A+). Both packages have equal security standings.
Do @testing-library/react and enzyme provide TypeScript definitions?
@testing-library/react includes built-in TypeScript types, while enzyme may require community @types definitions.
What licenses do @testing-library/react and enzyme use?
@testing-library/react is published under the MIT license (PERMISSIVE), and enzyme is licensed under MIT (PERMISSIVE).