1.0.1 • Published 9 years ago

babel-plugin-eval v1.0.1

Weekly downloads
90,401
License
MIT
Repository
github
Last release
9 years ago

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