Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 862 Bytes

File metadata and controls

48 lines (34 loc) · 862 Bytes

babel-plugin-aexpr-source-transformation Build Status

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

Live editable at http://astexplorer.net/#/h1zFzvogmm/20

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"]
});