TypeScript Macros

Open-source TypeScript projects categorized as Macros

Top 4 TypeScript Macro Projects

  • vue-macros

    Explore and extend more macros and syntax sugar to Vue.

    Project mention: Coming here from svelteland... is there a way to put CSS module inside JS? | /r/solidjs | 2023-06-03

    I recently encountered Vue Macros and it inspired me to create a compile-time macro library for CSS modules, unfortunately I haven't even started and am not planning to do so any time soon. I like having the entire component in a single file but honestly just having COMPONENT_NAME.module.css for each component is not bad at all. I'd just avoid doing the COMPONENT_NAME/style.module.css, this gets very tedious

  • ts-macros

    A typescript transformer / plugin that allows you to write macros for typescript!

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

  • tsc-macro

    Compose macro in Typescript, expand back into Typescript

  • prerender-macro

    Bun plugin to prerender JSX components using a kind of macro

    Project mention: Power of Partial Prerendering with Bun | dev.to | 2024-03-24

    With Prerender Macro I add my grain of sand to open-source so that it can be combined or can be used in other contexts differently, because for version 0.1 it injects the HTML into the JSX tree itself, instead of fetching it from the edge. However, I would like for future versions to generate the infrastructure as code (IaC) to connect to the necessary cloud (Vercel, or others that implement PPR). Now that the library is open-source any contribution in this regard will be very welcome.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2024-03-24.

TypeScript Macros related posts

Index

What are some of the best open-source Macro projects in TypeScript? This list will help you:

Project Stars
1 vue-macros 1,517
2 ts-macros 296
3 tsc-macro 11
4 prerender-macro 9
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