Skip to content

tkesgar/strformat

Repository files navigation

strformat

strformat is a minimal string templating engine, intended for short strings such as file names. It is inspired by Webpack template strings, with additional features such as pipes and default values.

Design goals:

  • Easily readable syntax
  • Avoid tokens commonly used in other templates/interpolations, e.g. Bash ($foo, ${foo}, $(foo)), GitLab CI, GitHub (${{foo}})
  • Extensibility: allow applications to add their own context values
  • Security: do not directly allow evaluating user input

Packages

About

Simple and minimal templating engine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published