{"package":"refractor","ecosystem":"npm","latest_version":"5.0.0","description":"Lightweight, robust, elegant virtual syntax highlighting using Prism","license":"MIT","license_risk":"permissive","commercial_use_notes":"Permissive: commercial closed-source use OK; preserve the copyright notice.","homepage":"https://github.com/wooorm/refractor#readme","repository":"https://github.com/wooorm/refractor","downloads_weekly":7177609,"health":{"score":58,"risk":"high","breakdown":{"maintenance":0,"popularity":17,"security":25,"maturity":12,"community":4,"popularity_floor":0},"deprecated":false,"max_score":100},"vulnerabilities":{"count":0,"critical":0,"high":0,"medium":0,"low":0,"details":[]},"versions":{"latest":"5.0.0","total_count":42,"recent":["3.3.0","3.3.1","4.0.0","4.1.0","3.4.0","4.1.1","4.2.0","4.2.1","3.5.0","4.2.2","4.3.0","4.4.0","4.5.0","3.6.0","4.6.0","4.7.0","4.8.0","4.8.1","4.9.0","5.0.0"]},"metadata":{"deprecated":false,"deprecated_message":null,"maintainers_count":1,"first_published":"2017-08-02T16:35:52.302Z","last_published":"2025-03-11T15:23:56.243Z","dependencies_count":4,"dependencies":["@types/hast","@types/prismjs","hastscript","parse-entities"]},"github_stats":{"stars":855,"forks":47,"open_issues":0,"is_archived":false,"pushed_at":"2025-03-11T15:23:52+00:00"},"bundle":{"size_kb":110.3,"gzip_kb":37.6,"dependency_count":4,"has_js_module":false,"has_side_effects":true,"scoped":false,"source":"bundlephobia"},"typescript":{"score":7,"has_types":true,"types_source":"definitely-typed","types_package":"@types/refractor"},"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 (58/100) — verify manually"],"use_version":"5.0.0","version_hint":null,"summary":"refractor@5.0.0 low health (58/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/refractor","tokens_estimated":12,"use_when":"you only need to know if the package exists (hallucination guard)"},{"endpoint":"/api/health/npm/refractor","tokens_estimated":80,"use_when":"you only need a 0-100 score for go/no-go (>=70 = safe)"},{"endpoint":"/api/prompt/npm/refractor","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}