babel-plugin-eval

v1.0.1
Compile eval calls with string literals
babel-plugin

babel-plugin-eval

Compile eval calls with string literals

Installation

$ npm install babel-plugin-eval

Usage

Via .babelrc (Recommended)

.babelrc

{
  "plugins": ["eval"]
}

Via CLI

$ babel --plugins eval script.js

Via Node API

require("babel-core").transform("code", {
  plugins: ["eval"]
});
npm i babel-plugin-eval

Metadata

  • MIT
  • Whatever
  • Unknown
  • released 6/15/2015

Downloads

Maintainers