{"package":"@ensdomains/ensjs","ecosystem":"npm","latest_version":"4.2.2","description":"ENS javascript library for contract interaction","license":"MIT","license_risk":"permissive","commercial_use_notes":"Permissive: commercial closed-source use OK; preserve the copyright notice.","homepage":"https://github.com/ensdomains/ensjs#readme","repository":"https://github.com/ensdomains/ensjs","downloads_weekly":36713,"health":{"score":70,"risk":"moderate","breakdown":{"maintenance":15,"popularity":10,"security":25,"maturity":15,"community":5},"deprecated":false,"max_score":100},"vulnerabilities":{"count":0,"critical":0,"high":0,"medium":0,"low":0,"details":[]},"versions":{"latest":"4.2.2","total_count":119,"recent":["3.5.0-beta.3","3.5.0","3.6.0","3.7.0","4.0.0","4.0.1","4.0.1-alpha.0","4.0.2-alpha.5","4.0.2","4.0.2-alpha.7","4.0.3-alpha.0","4.0.3-alpha.11","4.0.3-alpha.12","4.1.0","4.1.1","4.1.2","5.0.0-alpha.0","5.0.0-alpha.1","4.2.0","4.2.2"]},"metadata":{"deprecated":false,"deprecated_message":null,"maintainers_count":8,"first_published":"2020-10-05T10:27:34.894Z","last_published":"2026-01-28T03:30:07.834Z","dependencies_count":10,"dependencies":["@adraffy/ens-normalize","@ensdomains/address-encoder","@ensdomains/content-hash","@ensdomains/dnsprovejs","abitype","dns-packet","graphql","graphql-request","pako","ts-pattern"]},"github_stats":null,"bundle":{"size_kb":319.6,"gzip_kb":109.5,"dependency_count":10,"has_js_module":false,"has_side_effects":false,"scoped":true,"source":"bundlephobia"},"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":"4.2.2","version_hint":null,"summary":"@ensdomains/ensjs@4.2.2 is safe to use (health: 70/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/%40ensdomains%2Fensjs","tokens_estimated":12,"use_when":"you only need to know if the package exists (hallucination guard)"},{"endpoint":"/api/health/npm/%40ensdomains%2Fensjs","tokens_estimated":80,"use_when":"you only need a 0-100 score for go/no-go (>=70 = safe)"},{"endpoint":"/api/prompt/npm/%40ensdomains%2Fensjs","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 37 times in 60s. Save bandwidth + tokens with POST /api/check_bulk (1 round-trip for N pkgs)."},"requested_version":null,"_cache":"miss","_response_ms":1252,"_powered_by":"depscope.dev — free package intelligence for AI agents","typosquat":{"is_suspected":false},"maintainer_trust":{"available":false},"malicious":{"is_malicious":false,"advisory_id":"MAL-2025-190933","summary":"Malicious code in @ensdomains/ensjs (npm)","action":"use_with_caution","affected_versions":["4.0.3"],"latest_version_safe":true,"note":"Advisory MAL-2025-190933: versions 4.0.3 are compromised. Current latest (4.2.2) is safe."},"scorecard":{"available":false},"quality":{"available":false},"co_used_with":[{"package":"@0x-klaytn/base-contract","occurrences":1},{"package":"@anker-in/shopify-core","occurrences":1},{"package":"@bloxberg-org/lds-merkle-proof-2019","occurrences":1},{"package":"@cmdop/node","occurrences":1},{"package":"@codesocietyou/contentedge-cms-sdk","occurrences":1}],"version_history_summary":{"total_versions":20,"first_release_age_days":2036,"last_release_days_ago":96,"avg_days_between_releases":107,"release_velocity":"moderate"}}