babel-plugin-aexpr-source-transformation

3rd implementation strategy of active expressions, via a babel transformation

Usage no npm install needed!

<script type="module">
  import babelPluginAexprSourceTransformation from 'https://cdn.skypack.dev/babel-plugin-aexpr-source-transformation';
</script>

README

babel-plugin-aexpr-source-transformation

3rd implementation strategy of active expressions, via a babel transformation

Example

Transforms

something

to

something else

Installation

$ npm install babel-plugin-aexpr-source-transformation

Usage

Via .babelrc (Recommended)

.babelrc

{
  "plugins": ["aexpr-source-transformation"]
}

Via CLI

$ babel --plugins aexpr-source-transformation script.js

Via Node API

require("babel-core").transform("code", {
  plugins: ["aexpr-source-transformation"]
});