# sstephenson/eco

Embedded CoffeeScript templates

Repository: https://github.com/sstephenson/eco
Canonical: https://ross.abutalabs.com/products/eco
Language: CoffeeScript
License: MIT
License Family: permissive
Archived: true
Last push: 2019-07-02T05:26:52+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5827, "days_push": 2619, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1696, forks 68 (observed 2026-08-28T04:05:23.887692+00:00)

## What it is
Eco is a templating library that embeds CoffeeScript logic inside markup, similar to EJS or ERB. Templates can be rendered server-side in Node.js or precompiled to JavaScript with a CLI for client-side rendering.

## Use cases
- render HTML views from CoffeeScript templates in Node.js
- compile templates to JavaScript for client-side rendering
- embed CoffeeScript conditionals and loops in markup
- escape and interpolate context data into HTML
- call helper methods from within templates

## When to choose
- your codebase is written in CoffeeScript and you need server-side or client-side templating
- you want EJS/ERB-style templates with CoffeeScript syntax
- you need synchronous template rendering with helper methods

## When to avoid
- you use modern JavaScript or TypeScript instead of CoffeeScript
- you need async template rendering
- you want an actively maintained templating engine
- you're starting a new project with modern tooling

## Facets
- artifact type: library
- maturity: abandoned
- function: templating
- domain: web-development, frontend, developer-tools
- platform: browser, cli
- tags: coffeescript, embedded-templates, server-side-rendering, ejs-alternative, nodejs

## Member repositories
- sstephenson/eco (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:23.887692+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:37:54.945503+00:00, confidence not recorded.
  - readme: https://github.com/sstephenson/eco (fetched 2026-08-28T04:05:23.887692+00:00, sha 61591b600e53)
  - registry_npm: https://registry.npmjs.org/eco (fetched 2026-08-29T11:12:59.991906+00:00, sha 4faa5e436db0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
