/awesome-babel-macros

A collection of awesome babel macros and related resources

Awesome babel macros Awesome

A collection of awesome babel macros and related resources

Contents


Macros

General

Object lifetime / memory management

File loading

Object/Array manipulation

  • traph.macro: Transform Objects easily, leveraging object getters and graphs
  • idx.macro: Traverse properties on objects and arrays
  • assign.macro: Transpile Object.assign-style expressions to direct assignments

Code generation

Development

React

CSS-in-JS

GraphQL

Resources

General

Developing macros

Integrations

The following projects include babel-plugin-macros, so macros can be used out of the box without additional configuration:


Footnotes

  1. preval vs codegen ↩️

Contribute

Contributions welcome! Read the contribution guidelines first.

License

CC0

To the extent possible under law, Jonas Gierer has waived all copyright and related or neighboring rights to this work.