{"package":"@thi.ng/random","ecosystem":"npm","latest_version":"4.1.52","description":"Pseudo-random number generators w/ unified API, distributions, weighted choices, ID generation","license":"Apache-2.0","license_risk":"permissive","commercial_use_notes":"Permissive: commercial closed-source use OK; preserve the copyright notice.","homepage":"https://thi.ng/random","repository":"https://codeberg.org/thi.ng/umbrella","downloads_weekly":262863,"health":{"score":81,"risk":"low","breakdown":{"maintenance":25,"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":"4.1.52","total_count":229,"recent":["4.1.31","4.1.32","4.1.33","4.1.34","4.1.35","4.1.36","4.1.37","4.1.38","4.1.39","4.1.40","4.1.41","4.1.42","4.1.43","4.1.44","4.1.45","4.1.47","4.1.48","4.1.50","4.1.51","4.1.52"]},"metadata":{"deprecated":false,"deprecated_message":null,"maintainers_count":1,"first_published":"2018-11-24T15:53:25.620Z","last_published":"2026-06-05T18:33:19.405Z","dependencies_count":2,"dependencies":["@thi.ng/api","@thi.ng/errors"]},"github_stats":null,"bundle":{"size_kb":5.6,"gzip_kb":2.2,"dependency_count":2,"has_js_module":"./index.js","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.1.52","version_hint":null,"summary":"@thi.ng/random@4.1.52 is safe to use (health: 81/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/%40thi.ng%2Frandom","tokens_estimated":12,"use_when":"you only need to know if the package exists (hallucination guard)"},{"endpoint":"/api/health/npm/%40thi.ng%2Frandom","tokens_estimated":80,"use_when":"you only need a 0-100 score for go/no-go (>=70 = safe)"},{"endpoint":"/api/prompt/npm/%40thi.ng%2Frandom","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 16 times in 60s. Save bandwidth + tokens with POST /api/check_bulk (1 round-trip for N pkgs)."},"requested_version":null,"_cache":"hit","_response_ms":0,"_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":2764,"last_release_days_ago":13,"avg_days_between_releases":145,"release_velocity":"active"}}