{"adoption": {"forks": 484, "observed_at": "2026-08-28T04:04:21.180003+00:00", "stars": 1318}, "canonical_url": "https://ross.abutalabs.com/products/templatejs", "card": {"archived": false, "artifact_type": "library", "description": "A javascript template engine, simple, easy & extras, support webpack, rspack, vite, rollup, esbuild, parcel, browserify, fis and gulp.", "domain": ["web-development", "frontend", "developer-tools"], "enriched": true, "function": ["templating", "parser", "cli", "plugin-system"], "health_score": 27, "homepage": null, "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["yanhaijing/template.js"], "name": "yanhaijing/template.js", "platform": ["browser", "cross-platform", "cli"], "pushed_at": "2025-03-16T15:41:06+00:00", "repo": "yanhaijing/template.js", "stars": 1318, "tags": ["template-engine", "precompilation", "jit", "aot", "webpack-plugin", "vite-plugin", "sandbox", "typescript", "nodejs"], "topics": ["tmpl", "arttemplate", "templatejs", "baidutemplate", "juicer", "handlebars", "jade", "fis", "parcel", "rollup", "webpack", "browserify", "ejs", "dotjs", "template", "rspack", "vite", "esbuild"], "urls": [], "use_cases": ["render html templates from javascript data", "precompile templates with webpack or vite", "replace string concatenation with a template engine", "use a lightweight handlebars or ejs alternative", "set up a template project with a cli scaffolder", "highlight template syntax in vscode or sublime"], "what_it_is": "template.js is a simple JavaScript template engine supporting parsing, compilation, and rendering with native JS syntax. It offers precompilation plugins for mainstream bundlers like webpack, vite, rollup, esbuild, and parcel, plus a CLI and editor plugins.", "when_to_avoid": ["you need a full-featured framework like React or Vue for UI rendering", "you prefer logic-less templates like Mustache or Handlebars", "you need server-side templating for a non-JavaScript stack"], "when_to_choose": ["you want a simple, native-JS-syntax template engine", "you need precompilation integrated with your bundler", "you need both browser and Node support with TypeScript types", "you want JIT and AOT compilation modes"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/templatejs", "repo": "yanhaijing/template.js", "role": "main", "score": 37}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:21.180003+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:48:10.810773+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "db2bcead0fef2c4d68b9442310fc1c7e382f83f2fa67228ec2847ceff70511d2", "fetched_at": "2026-08-28T04:04:21.180003+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yanhaijing/template.js"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:21.180003+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:48:10.810773+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "db2bcead0fef2c4d68b9442310fc1c7e382f83f2fa67228ec2847ceff70511d2", "fetched_at": "2026-08-28T04:04:21.180003+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yanhaijing/template.js"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:48:10.810773+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "db2bcead0fef2c4d68b9442310fc1c7e382f83f2fa67228ec2847ceff70511d2", "fetched_at": "2026-08-28T04:04:21.180003+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yanhaijing/template.js"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:04:21.180003+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:21.180003+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:21.180003+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:48:10.810773+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "db2bcead0fef2c4d68b9442310fc1c7e382f83f2fa67228ec2847ceff70511d2", "fetched_at": "2026-08-28T04:04:21.180003+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yanhaijing/template.js"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:21.180003+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:21.180003+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:48:10.810773+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "db2bcead0fef2c4d68b9442310fc1c7e382f83f2fa67228ec2847ceff70511d2", "fetched_at": "2026-08-28T04:04:21.180003+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yanhaijing/template.js"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:21.180003+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:21.180003+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:21.180003+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:48:10.810773+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "db2bcead0fef2c4d68b9442310fc1c7e382f83f2fa67228ec2847ceff70511d2", "fetched_at": "2026-08-28T04:04:21.180003+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yanhaijing/template.js"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:21.180003+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:21.180003+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:48:10.810773+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "db2bcead0fef2c4d68b9442310fc1c7e382f83f2fa67228ec2847ceff70511d2", "fetched_at": "2026-08-28T04:04:21.180003+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yanhaijing/template.js"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:48:10.810773+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "db2bcead0fef2c4d68b9442310fc1c7e382f83f2fa67228ec2847ceff70511d2", "fetched_at": "2026-08-28T04:04:21.180003+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yanhaijing/template.js"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:48:10.810773+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "db2bcead0fef2c4d68b9442310fc1c7e382f83f2fa67228ec2847ceff70511d2", "fetched_at": "2026-08-28T04:04:21.180003+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yanhaijing/template.js"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:48:10.810773+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "db2bcead0fef2c4d68b9442310fc1c7e382f83f2fa67228ec2847ceff70511d2", "fetched_at": "2026-08-28T04:04:21.180003+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yanhaijing/template.js"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 11, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:39:23.370411+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4261, "days_push": 535, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 37, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}