</>PackageGraphPackageGraph

tmpl

npmv1.0.5

JavaScript micro templates.

Not recommended for new projects

No — tmpl should not be adopted for new projects. Last published 1829 days ago.

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • FMaintenance: grade F, Failing.

    Last published 1829 days ago.

  • AWeight: grade A, Excellent.

    Zero runtime dependencies, about 2.7 KB installed.

  • BSupply chain: grade B, Good.

    This package has a single maintainer (bus factor of 1).

  • ALicense: grade A, Excellent.

    BSD-3-Clause — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding tmpl to a project.

0
Direct dependencies

Runtime packages this one declares itself.

0
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

2.7 KB
Install size

Unpacked size of this package plus its entire runtime tree.

Tree depth

Longest resolved dependency chain below this package.

Compatibility

Node.js
No constraint declared
Module format
CommonJS only
TypeScript
No bundled types
Install scripts
None

Quick start

A usage example from the tmpl README.

javascriptFull README ↗
assert.equal(
  tmpl('the answer is {answer}', { answer: 42 }),
  'the answer is 42')

Dependencies

Declared by tmpl v1.0.5. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (1)

mocha ^9.1.1

Used by

Popular packages that depend on tmpl.

Relationship graph

Dependencies (left) and dependents (right) of tmpl.

makeerrortmpl
tmpl dependencies dependents

Release history

No releases in the last two years, typically about 1295 days apart.

Recent versions of tmpl
VersionPublishedSizeLicense
1.0.5latest5 years ago2.7 KBBSD-3-Clause
1.0.411 years agoBSD-3-Clause
1.0.311 years agoBSD-3-Clause
1.0.115 years agoBSD-3-Clause
1.0.015 years agoBSD-3-Clause

Overview

tmpl is an npm package that javaScript micro templates. It has 1 known dependents in the graph. The latest version is 1.0.5, released under the BSD-3-Clause license.

Who should use it

Teams working in the npm ecosystem who need javaScript micro templates and value a focused solution.

When not to use it

Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.

Pros

  • Clear open-source license (BSD-3-Clause).
  • Lean dependency tree (1 direct dependencies).

Cons

  • No bundled TypeScript types (may require a separate @types package).

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Frequently asked questions

Should I use tmpl?

No — tmpl should not be adopted for new projects. Last published 1829 days ago.

How do I install tmpl?

Run `npm install tmpl` to add tmpl to your npm project.

What license is tmpl released under?

tmpl is distributed under the BSD-3-Clause license.

How popular is tmpl?

npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on tmpl.

Is tmpl still maintained?

The most recent release of tmpl (v1.0.5) was published 5 years ago.

Does tmpl run install scripts?

No. tmpl does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.