JavaScript Macros in Bun

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

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.
surveyjs.io
featured
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
  • sweet.js

    Sweeten your JavaScript.

  • I was ready to be excited from the title, but was utterly disappointed :(

    IMO these aren’t macros in the Lisp-sense of the word (or Rust, or even C); yeah they run code at compile time, but that’s where the common ends.

    Macros should be able to apply syntactic transformation on the code. Lisp is famous for allowing that by representing code as lists. Rust has a compiler-level API to give tokens and run arbitrary code, then spit new tokens out. C macros operate on the tokens level, so with enough magic you can transform code to the shape you want.

    This… isn’t any of that.

    A pretty good example (and something I’m still sad that it didn’t take off) of macros in JS is Sweet.js[0]. Babel macros[1] are a bit higher level, where macros require the input to already be a valid AST, but that’s also cool.

    This… I’d say it’s more of a build-time code execution feature, not a macro feature.

    [0]: https://www.sweetjs.org/

  • react-git-info

    Get Git commit information in your React App

  • 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.

    SurveyJS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • UX Case Study: Markdown Heading

    4 projects | dev.to | 27 Apr 2024
  • My Failed Student Housing App

    3 projects | dev.to | 23 Apr 2024
  • Quill – Your powerful rich text editor

    7 projects | news.ycombinator.com | 19 Apr 2024
  • Vim Gets Xdg_config_home Support

    1 project | news.ycombinator.com | 14 Apr 2024
  • How I optimized Carousel for EditorJS 2x in size.

    5 projects | dev.to | 29 Mar 2024