awesome-tagged-templates

A list of libraries and learning resources for ES2015 tagged template literals (by kay-is)

Awesome-tagged-templates Alternatives

Similar projects and alternatives to awesome-tagged-templates

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better awesome-tagged-templates alternative or higher similarity.

awesome-tagged-templates reviews and mentions

Posts with mentions or reviews of awesome-tagged-templates. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-10.
  • Building a Dynamic Client-Side Blog with Secutio & Bootstrap
    4 projects | dev.to | 10 Apr 2024
    The template combines HTML and JavaScript. To understand this approach, consider how PHP pages are generated. In PHP, code is embedded within the HTML. Similarly, this library leverages JavaScript template literals to achieve the same objective. From the definition: "Template literals are literals delimited with backtick (`) characters, allowing for multi-line strings, string interpolation with embedded expressions, and special constructs called tagged templates".
  • Number and Currency Formatting in JavaScript using Intl.NumberFormat
    1 project | dev.to | 4 Apr 2024
    The numbers we are printing are monetary values so they are missing a decimal value and a currency symbol. One way we can do this is by using JavaScript template literals to append and prepend the pieces we are missing.
  • Bun 1.1
    17 projects | news.ycombinator.com | 1 Apr 2024
    Tagged templates[0], the language feature that enables this, were introduced in ECMAScript 2015 apparently – arguably at least somewhat new in the lifespan of JavaScript. :)

    Java is getting a similar feature with template processors[1]. It would be nice to have it in Python as well – i.e. not just f-strings, but something that (like tagged templates) allows a template function process the interpolated values to properly encode them for whatever language is appropriate (e.g. shell, SQL, HTML, etc.).

    [0] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

    [1] https://openjdk.org/jeps/459

  • JavaScript Template Literals
    1 project | dev.to | 21 Mar 2024
    References: Template literals (Template strings)
  • A React Developers Guide to Writing Enhance Components
    1 project | dev.to | 9 Mar 2024
    We are using a string template literal to create the tag and the ${} syntax to provide string interpolation, that is, substituting the values of href and altText into our string.
  • TypeScript Template Literal Types: Practical Use-Cases for Improved Code Quality
    2 projects | dev.to | 20 Feb 2024
    In TypeScript, a string literal type is a type that represents a specific set of string values. For example, the type "red" | "green" | "blue" represents the set of three string values "red", "green", and "blue". Template literal types allow you to perform operations on these string literal types using the same syntax as template literal strings in JavaScript.
  • Exploring Secutio Task by Task. Setting "Events" Like Stylesheets!
    3 projects | dev.to | 2 Feb 2024
    The example also showcases the use of inline templates, employing JavaScript Template Literals. The JSON data obtained from the GET request is accessible through the "data" variable.
  • The Bun Shell
    17 projects | news.ycombinator.com | 20 Jan 2024
    These are called "tagged templates": https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
  • AI for Web Devs: Your First API Request to OpenAI
    5 projects | dev.to | 16 Jan 2024
  • Java String Interpolation final in Java 23
    4 projects | news.ycombinator.com | 13 Jan 2024
  • A note from our sponsor - SaaSHub
    www.saashub.com | 1 May 2024
    SaaSHub helps you find the best software and product alternatives Learn more →