{"package":"koffi","ecosystem":"npm","latest_version":"2.16.1","description":"Fast and simple C FFI (foreign function interface) for Node.js","license":"MIT","license_risk":"permissive","commercial_use_notes":"Permissive: commercial closed-source use OK; preserve the copyright notice.","homepage":"https://koffi.dev/","repository":"https://github.com/Koromix/koffi","downloads_weekly":2218023,"health":{"score":85,"risk":"low","breakdown":{"maintenance":25,"popularity":17,"security":25,"maturity":15,"community":3},"deprecated":false,"max_score":100},"vulnerabilities":{"count":0,"critical":0,"high":0,"medium":0,"low":0,"details":[]},"versions":{"latest":"2.16.1","total_count":261,"recent":["2.15.1","2.16.0-beta.1","2.16.0-beta.2","2.15.2-beta.1","2.15.2-beta.2","2.15.2","2.15.3","2.15.4","2.15.5","2.15.6","2.16.0","2.16.1","3.0.0-alpha.1","3.0.0-alpha.2","3.0.0-alpha.3","3.0.0-alpha.4","3.0.0-alpha.5","3.0.0-alpha.6","3.0.0-alpha.7","3.0.0-alpha.8"]},"metadata":{"deprecated":false,"deprecated_message":null,"maintainers_count":1,"first_published":"2022-02-23T15:43:18.127Z","last_published":"2026-04-18T06:44:37.160Z","dependencies_count":0,"dependencies":[]},"github_stats":{"stars":381,"forks":10,"open_issues":31,"is_archived":false,"pushed_at":"2026-01-20T21:08:24+00:00"},"bundle":null,"typescript":{"score":10,"has_types":true,"types_source":"bundled","types_package":null},"known_issues":{"bugs_count":0,"bugs_severity":{},"status_breakdown":{},"link":null,"scope":"none"},"historical_compromise":null,"recommendation":{"action":"safe_to_use","issues":[],"use_version":"2.16.1","version_hint":null,"summary":"koffi@2.16.1 is safe to use (health: 85/100)"},"version_scoped":null,"_meta":{"endpoint":"check","tier":"full","philosophy":"DepScope is free. Use the cheapest endpoint that answers your real question.","cheaper_alternatives":[{"endpoint":"/api/exists/npm/koffi","tokens_estimated":12,"use_when":"you only need to know if the package exists (hallucination guard)"},{"endpoint":"/api/health/npm/koffi","tokens_estimated":80,"use_when":"you only need a 0-100 score for go/no-go (>=70 = safe)"},{"endpoint":"/api/prompt/npm/koffi","tokens_estimated":280,"use_when":"you want a plain-text LLM-friendly brief instead of JSON"},{"endpoint":"POST /api/check_bulk","tokens_estimated":60,"use_when":"you have 5+ packages to check; sends one round-trip instead of N"}],"docs":"https://depscope.dev/integrate","hint_bulk":"You've called /api/check 29 times in 60s. Save bandwidth + tokens with POST /api/check_bulk (1 round-trip for N pkgs)."},"requested_version":null,"_cache":"miss","_response_ms":930,"_powered_by":"depscope.dev — free package intelligence for AI agents","typosquat":{"is_suspected":false},"maintainer_trust":{"available":false},"malicious":{"is_malicious":false},"scorecard":{"available":false},"quality":{"available":false},"version_history_summary":{"total_versions":20,"first_release_age_days":1530,"last_release_days_ago":16,"avg_days_between_releases":81,"release_velocity":"active"}}