{"package":"twig","ecosystem":"npm","latest_version":"3.0.0","description":"JS port of the Twig templating language.","license":"BSD-2-Clause","license_risk":"permissive","commercial_use_notes":"Permissive: commercial closed-source use OK; preserve the copyright notice.","homepage":"https://github.com/twigjs/twig.js","repository":"https://github.com/twigjs/twig.js","downloads_weekly":510556,"health":{"score":89,"risk":"low","breakdown":{"maintenance":25,"popularity":14,"security":25,"maturity":15,"community":10,"popularity_floor":0},"deprecated":false,"max_score":100},"vulnerabilities":{"count":0,"critical":0,"high":0,"medium":0,"low":0,"details":[]},"versions":{"latest":"3.0.0","total_count":65,"recent":["1.10.4","1.10.5","1.11.0","1.11.1","1.12.0","1.13.0","1.13.1","1.13.2","1.13.3","1.14.0","1.15.0","1.15.1","1.15.2","1.15.3","1.15.4","1.16.0","1.17.0","1.17.1","2.0.0","3.0.0"]},"metadata":{"deprecated":false,"deprecated_message":null,"maintainers_count":7,"first_published":"2011-10-15T22:26:22.758Z","last_published":"2026-03-26T19:43:50.935Z","dependencies_count":4,"dependencies":["@babel/runtime","locutus","minimatch","walk"]},"github_stats":{"stars":1935,"forks":283,"open_issues":60,"is_archived":false,"pushed_at":"2026-09-16T19:24:04Z","subscribers_count":51},"bundle":null,"typescript":{"score":7,"has_types":true,"types_source":"definitely-typed","types_package":"@types/twig"},"known_issues":{"bugs_count":0,"bugs_severity":{},"status_breakdown":{},"link":null,"scope":"none"},"historical_compromise":null,"recommendation":{"action":"safe_to_use","issues":[],"use_version":"3.0.0","version_hint":null,"summary":"twig@3.0.0 is safe to use (health: 89/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/twig","tokens_estimated":12,"use_when":"you only need to know if the package exists (hallucination guard)"},{"endpoint":"/api/health/npm/twig","tokens_estimated":80,"use_when":"you only need a 0-100 score for go/no-go (>=70 = safe)"},{"endpoint":"/api/prompt/npm/twig","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}