npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@flancer32/teq-tmpl

v0.5.0

Published

Node.js package for multilingual template management and rendering with flexible overrides, supporting Mustache, Nunjucks, and other engines.

Readme

@flancer32/teq-tmpl

npms.io

Human-governed. Agent-built. Agent-ready.

@flancer32/teq-tmpl resolves and renders localized text templates with deterministic locale fallback and application-level overrides. It is part of the Tequila Framework (TeqFW): created and evolved by coding agents under the architectural direction and final responsibility of Alex Gusev, and shipped with a version-matched Agent Skill so other agents can understand, integrate, and use it correctly.

Why use it

Template files remain owned by the application or plugin that provides them, while the package handles lookup, loading, and rendering through a replaceable engine. This keeps localized web, email, and other text output independent from a particular template engine.

Capabilities

  • Locale-aware lookup with user, application, and package fallback.
  • Application overrides for templates supplied by plugins.
  • Rendering through Mustache, Nunjucks, a built-in simple engine, or a custom engine.
  • Support for web, email, text, and other file-based template types.
  • Read-only filesystem access: the package never changes template files.

Installation

npm install @flancer32/teq-tmpl @teqfw/cli

The package runs in Node.js >=20 applications and uses TeqFW dependency injection. Select an engine in the host application's composition root and map Fl32_Tmpl_Back_Api_Engine$ to it; install its provider separately when needed:

npm install mustache
# or
npm install nunjucks

The built-in simple engine requires no additional template-engine package.

Configuration is loaded through the CLI runtime configuration and @teqfw/cfg before resolving the package. The CLI host must initialize TeqFw_Cli_Config$ before resolving this package. The supported template settings are:

TEQFW_TMPL__ALLOWED_LOCALES=en,es,ru
TEQFW_TMPL__DEFAULT_LOCALE=en
# applicationRoot is supplied by the CLI runtime configuration
# TEQFW_TMPL has no root-path setting

ALLOWED_LOCALES accepts either an array from an object source or a comma-separated string from dotenv and process-environment sources. String items are trimmed and empty items are ignored.

Quick start

Configure the CLI host with an application root and initialize TeqFw_Cli_Config$ before resolving this package. Configure the package with a default locale, select an engine in the host composition root, map Fl32_Tmpl_Back_Api_Engine$ to it, and then resolve the package's render service through the TeqFW DI container. A render request identifies the template type, name, optional plugin package, and locale preferences. The service returns rendered content together with a result code.

Templates are conventionally stored below:

tmpl/<type>/[<locale>/]<name>
tmpl/adapt/<package>/<type>/[<locale>/]<name>

For a plugin template, an adapted application copy takes precedence over the original template in node_modules. The package skill contains the exact composition, configuration, and lookup rules.

Best fit

Use this package when a Node.js application or TeqFW plugin needs file-based, localized output with predictable overrides and engine flexibility. It is not a web server, CMS, translation-management system, or template authoring tool.

Agent-Driven Development

TeqFW is built through the same development model that it is designed to enable: one human defines the intent, architecture, constraints, and acceptance criteria; coding agents implement and maintain the products; other agents use those products in different combinations to create applications.

@flancer32/teq-tmpl is part of TeqFW. The package includes a version-matched Agent Skill in skills/teqfw-tmpl. The README provides a human-facing product overview; the skill provides agents with the package concepts, contracts, integration rules, examples, and boundaries.

Mount the skill into a host project:

mkdir -p .agents/skills
ln -s ../../node_modules/@flancer32/teq-tmpl/skills/teqfw-tmpl \
  .agents/skills/teqfw-tmpl

Each TeqFW package is both a practical software component and a working demonstration of human-governed, agent-driven development. This work follows the Agent-Driven Software Management (ADSM) approach: human intent, architectural authority, acceptance, and responsibility remain authoritative; agents act as implementation and reasoning partners.

License

Apache-2.0 © Alex Gusev