Unless someone knows better, I assert that 'recma' is a cutsie overloading of the letter 'e' yielding Remark (re) and ECMAScript (ecma). I have an interest in this topic so I dug as deep as my free time would allow.
Here are the more citable references I was able to find:
- docs.astro.build: recmaPlugins:
recmaPlugins
: These are plugins that modify the output estree directly. This is useful for modifying or injecting JavaScript variables in your MDX files.
- GitHub: #2030 Provide recma packages similar to remark:
- What plugin are you making?
- A plugin which makes all global variables available in pages/_app.js in Next.js projects by injecting
getStaticProps
.
- mdxjs: options.recmaPlugins:
- npmjs: xdm, Compilers, Babel:
- recma plugins are a new ecosystem currently in beta to transform esast [was this supposed to be estree?] trees (JavaScript).
- Github: recma-nextjs-static-props:
- Is a minimal Next.js project...
- Exposes Next.js applications' top-level scope Identifiers...
- Generates
getStaticProps
- exposing top-level identifiers.
- recma-nextjs-static-props
- This plugin is intended for use with Next.js and MDX. It injects a
getStaticProps
function which exposes all top level identifiers. This means these variable are available in pages/_app.js.
CAVEAT! I am new to the Node.js world and the Unified collective. Much of what I find seems to assume you are well steeped in the paradigm. This is unfortunate and it makes learning difficult - IMO.