Decision Workspace
napi-build-ohos vs napi-derive vs napi-sys
Side-by-side comparison of Rust crates
60
napi-build-ohos
stablev1.2.0
N-API build support
74
napi-derive
stablev3.6.12
N-API procedural macros
73
napi-sys
stablev3.4.0
NodeJS N-API raw binding
Core Metrics
| napi-build-ohos | napi-derive | napi-sys | |
|---|---|---|---|
| Health Score | 60 | 74 | 73 |
| Total Downloads | 268.9K | 55.5M | 56.4M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 99 | 5.4K | 287 |
| Releases | 26 | 179 | 40 |
| Last Updated | 151d ago | 4d ago | 9d ago |
| Age | 2y 10m | 8y 10m | 8y 10m |
Health Breakdown
napi-build-ohos
Maintenance
13
Quality
21
Community
8
Popularity
6
Documentation
12
napi-derive
Maintenance
19
Quality
21
Community
14
Popularity
8
Documentation
12
napi-sys
Maintenance
17
Quality
24
Community
12
Popularity
8
Documentation
12
Technical Details
| napi-build-ohos | napi-derive | napi-sys | |
|---|---|---|---|
| Version | 1.2.0 | 3.6.12 | 3.4.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | MIT | MIT | MIT |
| Dependencies | 0 | 6 | 1 |
| Crate Size | 4KB | 23KB | 13KB |
| Features | 0 | 7 | 13 |
| Yanked % | 0.0% | 1.1% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.88 | 1.88 | 1.88 |
| Owners | 1 | 2 | 2 |
Links
Quick Verdict
- •napi-derive leads with a health score of 74/100, but none of the options score above 80.
- •napi-sys has the most downloads (56.4M), suggesting wider adoption.
- •napi-derive is depended on by 5.4K crates — strongest ecosystem trust.