awesome-tagged-templates VS bun

Compare awesome-tagged-templates vs bun and see what are their differences.

awesome-tagged-templates

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

bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one (by oven-sh)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
awesome-tagged-templates bun
28 291
92 71,101
- 2.8%
10.0 10.0
about 3 years ago 2 days ago
Zig
- GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

awesome-tagged-templates

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-05-06.
  • How and why do we bundle zx?
    9 projects | dev.to | 6 May 2024
    When zx first appeared, it was a tiny esm script that just proposed a new idea for how child_process.spawn API could be enhanced with string template literals.
  • 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

bun

Posts with mentions or reviews of bun. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-25.
  • Node Test Runner vs Bun Test Runner (with TypeScript and ESM)
    1 project | dev.to | 26 Apr 2024
    It has a decent compatibility with both Jest and Vitest's APIs (you can track progress here so you can use it as almost a drop-in replacement for either. Just as Node's, it has describe/it, mock, test and others, but with the expect syntax (which I find more readable). For example:
  • SPA-Like Navigation Preserving Web Component State
    2 projects | dev.to | 25 Apr 2024
    In this third and final article in the series on HTML Streaming, we will explore the practical implementation of the Diff DOM Streaming library in web browsing. This approach will allow any website using web components to retain its state during browsing. We will discuss in detail how to achieve this step by step using VanillaJS and Bun.
  • React Server Components Example with Next.js
    9 projects | dev.to | 16 Apr 2024
    At Node Conference 2023, Jarred Sumner (creator of Bun) showed a demo of server components in Bun, so there is at least partial support in that ecosystem. The Bun repo provides bun-plugin-server-components as the official plugin for server components. And while I haven’t looked at it in-depth, Marz claims to be a “React Server Components Framework for Bun”.
  • Bun – A fast all-in-one JavaScript runtime
    1 project | news.ycombinator.com | 6 Apr 2024
  • From Node to Bun: A New Dawn for JavaScript Engines?
    1 project | dev.to | 3 Apr 2024
    Continuously evolving, Bun is currently optimized for MacOS and Linux, with ongoing efforts towards Windows compatibility. Tailored for resource-constrained environments like serverless functions, it emerges as an ideal solution. The Bun team is committed to achieving comprehensive Node.js compatibility and seamless integration with prevalent frameworks. For those intrigued by Bun's potential and want to give it a try, more information is available on its website at https://bun.sh/.
  • Bun - The One Tool for All Your JavaScript/Typescript Project's Needs?
    4 projects | dev.to | 2 Apr 2024
    Let’s say you are interested in learning more about Bun and probably give it a try. Bun has a website, where you can learn more about Bun and its features (including all the benchmark data captured in this issue), and here is the link.
  • Bun 1.1
    17 projects | news.ycombinator.com | 1 Apr 2024
    Looks like it, it seems the 2% are mostly odd platform specific issues that the authors' did not deem very important (my assumption for the release happening anyway). AFAIK this[1] PR tries to fix them.

    [1]: https://github.com/oven-sh/bun/pull/9729

  • Bun-ify Your Project
    1 project | dev.to | 6 Mar 2024
    Bun has a solution for it. First of all, it already has a list of trusted dependencies. For them, Bun will execute all necessary scripts by default. Otherwise, you can add it to trustedDependecies in your package.json file. In Bun community usage of trustedDependencies is a hot topic. There are several suggestions on how to improve it.
  • I have created a small anti-depression script
    4 projects | dev.to | 5 Mar 2024
    Install Node.js (or Bun, or Deno, or whatever JS runtime you prefer) if it's not there
  • JSR: The JavaScript Registry
    9 projects | news.ycombinator.com | 1 Mar 2024
    I think maybe I was unclear. I'm talking about writing libraries that abstract across these differences and provide a single API, as sibling describes. I already know it's possible. I made a simple filesystem abstraction here[0] and a very simple HTTP library that uses it here[1]. They both work in Node/Deno and the browser. Unfortunately I ran into issues with Bun's slice implementation[2]. But I suspect there's a much better way of detecting and using the different backends.

    [0]: https://github.com/waygate-io/fs-js

    [1]: https://github.com/waygate-io/http-js

    [2]: https://github.com/oven-sh/bun/issues/7057

What are some alternatives?

When comparing awesome-tagged-templates and bun you can also consider the following projects:

rewrite-styled-components - Rewrite library styled-components in ~ 60 line code

vite - Next generation frontend tooling. It's fast!

dom-examples - Code examples that accompany various MDN DOM and Web API documentation pages

GORM - The fantastic ORM library for Golang, aims to be developer friendly

bnx - zx inspired shell for Bun.

nvm - Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions

enhance-starter-project - file based routing metaframework for blazing fast custom elements

fastify - Fast and low overhead web framework, for Node.js

dax - Cross-platform shell tools for Deno and Node.js inspired by zx.

go-pg - Golang ORM with focus on PostgreSQL features and performance

enhance.dev - Docs website for Enhance!

deno - A modern runtime for JavaScript and TypeScript.