{"package":"optional-js","ecosystem":"npm","latest_version":"2.3.0","description":"Optionals for JS - wrapper for possibly undefined values, inspired by Java Optional API","license":"MIT","license_risk":"permissive","commercial_use_notes":"Permissive: commercial closed-source use OK; preserve the copyright notice.","homepage":"https://github.com/JasonStorey/Optional.js","repository":"https://github.com/JasonStorey/Optional.js","downloads_weekly":337937,"health":{"score":56,"risk":"high","breakdown":{"maintenance":0,"popularity":14,"security":25,"maturity":15,"community":2,"popularity_floor":0},"deprecated":false,"max_score":100},"vulnerabilities":{"count":0,"critical":0,"high":0,"medium":0,"low":0,"details":[]},"versions":{"latest":"2.3.0","total_count":19,"recent":["0.1.0","0.1.1","0.1.2","0.1.3","0.1.4","0.1.5","0.1.6","0.1.7","1.0.1","1.1.1","1.1.2","1.2.0","1.2.1","1.3.0","1.3.1","2.0.0","2.1.0","2.1.1","2.3.0"]},"metadata":{"deprecated":false,"deprecated_message":null,"maintainers_count":1,"first_published":"2015-02-17T02:17:49.867Z","last_published":"2020-07-22T21:01:42.947Z","dependencies_count":0,"dependencies":[]},"github_stats":{"stars":76,"forks":7,"open_issues":21,"is_archived":false,"pushed_at":"2022-06-22T05:49:17+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":"use_with_caution","issues":["Moderate health score (56/100) — verify manually"],"use_version":"2.3.0","version_hint":null,"summary":"optional-js@2.3.0 low health (56/100) — consider alternatives"},"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/optional-js","tokens_estimated":12,"use_when":"you only need to know if the package exists (hallucination guard)"},{"endpoint":"/api/health/npm/optional-js","tokens_estimated":80,"use_when":"you only need a 0-100 score for go/no-go (>=70 = safe)"},{"endpoint":"/api/prompt/npm/optional-js","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"},"_cache":"hit","_response_ms":0}